llvm-6502/lib/Transforms
David Majnemer b41f4bbfbd InstCombine: Optimize (1 << X) Pred CstP2 to X Pred Log2(CstP2)
We may, after other optimizations, find ourselves with IR that looks
like:

  %shl = shl i32 1, %y
  %cmp = icmp ult i32 %shl, 32

Instead, we should just compare the shift count:

  %cmp = icmp ult i32 %y, 5


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185242 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-28 23:42:03 +00:00
..
Hello
InstCombine InstCombine: Optimize (1 << X) Pred CstP2 to X Pred Log2(CstP2) 2013-06-28 23:42:03 +00:00
Instrumentation Remove needless include (unistd.h) in DebugIR pass 2013-06-28 19:19:44 +00:00
IPO Debug Info: clean up usage of Verify. 2013-06-28 05:43:10 +00:00
ObjCARC [objc-arc-opts] Make IsTrackingImpreciseReleases a const method. 2013-06-21 20:52:49 +00:00
Scalar dbgs() << Instruction doesn't print a newline on the end any more. Update these 2013-06-26 00:30:18 +00:00
Utils Debug Info: clean up usage of Verify. 2013-06-28 05:43:10 +00:00
Vectorize SLP Vectorizer: Add support for trees with external users. 2013-06-28 22:07:09 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile