David Majnemer ab6ceab8a6 ValueTracking: Fix bugs in isKnownToBeAPowerOfTwo
(add nsw x, (and x, y)) isn't a power of two if x is zero, it's zero
(add nsw x, (xor x, y)) isn't a power of two if y has bits set that aren't set in x


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185954 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-09 18:11:10 +00:00
..
2012-02-29 01:53:13 +00:00
2013-07-09 07:50:59 +00:00
2013-06-28 01:29:35 +00:00
2013-02-16 23:41:36 +00:00
2013-04-20 17:39:52 +00:00
2012-11-14 20:18:34 +00:00
2012-12-04 00:04:54 +00:00
2013-03-28 19:34:14 +00:00
2012-12-05 00:33:16 +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.