1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
Benjamin Kramer b5e584392b ComputeMaskedBits: Make knownzero computation more aggressive for ctlz with undef zero.
unsigned foo(unsigned x) { return 31 - __builtin_clz(x); }
now compiles into a single "bsrl" instruction on x86.

llvm-svn: 147255
2011-12-24 17:31:46 +00:00
..
2009-09-27 06:25:05 +00:00
2010-01-05 21:54:09 +00:00
2011-11-08 00:23:01 +00:00
2011-02-11 19:37:55 +00:00
2010-07-12 00:19:47 +00:00
2009-09-16 16:33:59 +00:00
2010-09-02 22:38:56 +00:00

This directory contains test cases for the instcombine transformation.  The
dated tests are actual bug tests, whereas the named tests are used to test
for features that the this pass should be capable of performing.