llvm-6502/lib/Transforms
Chris Lattner 5324d80283 two changes:
1) don't try to optimize a sext or zext that is only used by a trunc, let
   the trunc get optimized first.  This avoids some pointless effort in
   some common cases since instcombine scans down a block in the first pass.
2) Change the cost model for zext elimination to consider an 'and' cheaper
   than a zext.  This allows us to do it more aggressively, and for the next
   patch to simplify the code quite a bit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93097 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-10 02:39:31 +00:00
..
Hello Fix a bunch of little errors that Clang complains about when its being pedantic 2009-12-19 07:05:23 +00:00
InstCombine two changes: 2010-01-10 02:39:31 +00:00
Instrumentation Move remaining stuff to the isInteger predicate. 2010-01-05 21:05:54 +00:00
IPO Be less stingy as to how many selects and phi nodes we 2010-01-07 05:48:42 +00:00
Scalar only factor from expressions whose uses are empty and whose 2010-01-09 06:01:36 +00:00
Utils Fix nondeterministic behavior. 2010-01-10 01:07:22 +00:00
Makefile move instcombine to its own library, it's past time. 2010-01-04 06:23:24 +00:00