1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/Transforms
Chris Lattner 3f880c2097 Enhance the shift propagator to handle the case when you have:
A = shl x, 42
...
B = lshr ..., 38

which can be transformed into:
A = shl x, 4
...

iff we can prove that the would-be-shifted-in bits
are already zero.  This eliminates two shifts in the testcase
and allows eliminate of the whole i128 chain in the real example.

llvm-svn: 112314
2010-08-27 22:53:44 +00:00
..
Hello Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
InstCombine Enhance the shift propagator to handle the case when you have: 2010-08-27 22:53:44 +00:00
Instrumentation Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
IPO Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
Scalar Fix typos in comments. 2010-08-27 20:32:56 +00:00
Utils Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
Makefile Revert r100896 and around - this breaks the only mingw32 buildbot we have. 2010-04-15 19:51:42 +00:00