llvm-mirror/lib/Transforms
Chris Lattner f3f6b6d7af Fix a bogus optimization: folding (slt (zext i1 A to i32), 1) -> (slt i1 A, true)
This cause a regression in InstCombine/JavaCompare, which was doing the right
thing on accident.  To handle the missed case, generalize the comparisons based
on masked bits a little bit to handle comparisons against the max value. For 
example, we can now xform (slt i32 (and X, 4), 4) -> (setne i32 (and X, 4), 4)

llvm-svn: 53443
2008-07-11 04:09:09 +00:00
..
Hello Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
Instrumentation Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to 2008-05-23 21:05:58 +00:00
IPO Restructure dead argument elimination, try #3 :-) 2008-07-10 10:24:08 +00:00
Scalar Fix a bogus optimization: folding (slt (zext i1 A to i32), 1) -> (slt i1 A, true) 2008-07-11 04:09:09 +00:00
Utils - Use O(1) check of basic block size limit. 2008-06-25 07:50:12 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00