llvm-6502/lib/Transforms
Chris Lattner e2cc1ad230 don't bother calling ConstantFoldInstruction unless there is a use of the
instruction (which disqualifies stores, unreachable, etc) and at least the
first operand is a constant.  This filters out a lot of obvious cases that
can't be folded.  Also, switch the IRBuilder to a TargetFolder, which tries
harder.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84170 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-15 04:13:44 +00:00
..
Hello Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
Instrumentation Introduce and use convenience methods for getting pointer types 2009-10-06 15:40:36 +00:00
IPO Move the InlineCost code from Transforms/Utils to Analysis. 2009-10-13 18:30:07 +00:00
Scalar don't bother calling ConstantFoldInstruction unless there is a use of the 2009-10-15 04:13:44 +00:00
Utils Update CMake file. 2009-10-13 18:48:07 +00:00
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00