Commits

Show all
Author Commit Message Labels Comments Date
astifter
Converted MaximumSpanningTree algorithm to a generic template, this could go into llvm/ADT.
Tags
cremebrulee-5
Dan Gohman
Include optional subclass flags, such as inbounds, nsw, etc., in the Constant uniquing tables. This allows distinct ConstantExpr objects with the same operation and different flags. Even though a ConstantExpr "a + b" is either always overflowing or never overflowing (due to being a ConstantExpr), it's still necessary to be able to represent it both with and without overflow flags at the same time within the IR, because the safety of the flag may depend on the context of the use. If the constant really does overflow, it wouldn't ever be safe to use with the flag set, however t…
Duncan Sands
Use delete[] to match new[] (found by valgrind).
Evan Cheng
Run branch folding if if-converter make some transformations.
Evan Cheng
Fix comment for consistency sake.
Daniel Dunbar
Remove stale greps.
Daniel Dunbar
Update lib deps.
Bob Wilson
Convert tests to FileCheck.
Jim Grosbach
Whitespace cleanup
Eric Christopher
If there's a calling convention attach it to the rewind function call.
Bob Wilson
Convert a test to FileCheck.
Evan Cheng
Funky indentation.
Daniel Dunbar
Revert "--- Reverse-merging r80908 into '.':", I already "fixed" this.
Dan Gohman
Revert 80959. It isn't sufficient to solve the full problem. And it introduced regressions in the Ocaml bindings tests.
Erick Tryzelaar
Replace ocamlc tests with ocamlopt tests since they're less noisy. There's a bug with ocamlc that uses "char*" instead of "const char*" for global string variables. This causes g++ to be very noisy when linking ocamlc programs. That's why the ocaml test used to cat to /dev/null. ocamlopt doesn't have this problem, so we can get rid of the >/dev/null, which may obscure some problems.
Bill Wendling
--- Reverse-merging r80908 into '.': D test/Analysis/Profiling --- Reverse-merging r80907 into '.': U lib/Analysis/ProfileInfoLoaderPass.cpp Attempt to remove failure in the self-hosting build bot.
Daniel Dunbar
Add test for PR4873, which works for me.
Dan Gohman
LLVM currently represents floating-point negation as -0.0 - x. Fix FastISel to recognize this pattern and emit a floating-point negation using xor.
David Goodwin
Don't crash when target has no itineraries.
Bill Wendling
If we've pushed registers onto the stack, but aren't adjusting the stack pointer (i.e., there are no local variables and stuff), we still need to output FDE information for the pushed registers.
Dan Gohman
Remove the API for creating ConstantExprs with the nsw, nuw, inbounds, and exact flags. Because ConstantExprs are uniqued, creating an expression with this flag causes all expressions with the same operands to have the same flag, which may not be safe. Add, sub, mul, and sdiv ConstantExprs are usually folded anyway, so the main interesting flag here is inbounds, and the constant folder already knows how to set the inbounds flag automatically in most cases, so there isn't an urgent need for the API support. This can be reconsidered in the future, but for now just removing these API bits eliminates a source of potential trouble with little downside.
David Goodwin
Create our own block initializer for kill fixups as the scheduling one wasn't doing the right thing.
David Goodwin
Calls clobber FPSCR.
Ted Kremenek
Make ImmutableMap/ImmutableSet quicker by only canonicalizing the tree after an Add or Remove operation complete, and not while building the intermediate tree. This trades a little bit more memory usage for less accesses to the FoldingSet. On a benchmark for the clang static analyzer, this shaves off another 13% of execution time when using field/array sensitivity.
Daniel Dunbar
Disable some parts of the profiling-tool-chain test, which is currently failing on a self-hosted build (although it seems to work on non-self hosted). I'll work with Andreas to figure this out.
Daniel Dunbar
Remove dead greps.
Bob Wilson
Overhaul the TwoAddressInstructionPass to simplify the logic, especially for the complicated case where one register is tied to multiple destinations. This avoids the extra scan of instruction operands that was introduced by my recent change. I also pulled some code out into a separate TryInstructionTransform method, added more comments, and renamed some variables. Besides all those changes, this takes care of a FIXME in the code regarding an assumption about there being a single tied use of a register when converting to a 3-address form. I'm not aware of cases where that assumption is violated, but the code now only attempts to transform an instruction, either by commuting its operands or by converting to a 3-address form, for the simple case where there i…
Dan Gohman
Smallvectorize switchExitBlocks.
Devang Patel
There is not any need to copy metadata while merging modules.
Dan Gohman
Recognize more opportunities to use SSE min and max instructions, swapping the operands if necessary.
  1. Prev
  2. Next