Paul Redmond 6da2e22dff Transform (x&C)>V into (x&C)!=0 where possible
When the least bit of C is greater than V, (x&C) must be greater than V
if it is not zero, so the comparison can be simplified.

Although this was suggested in Target/X86/README.txt, it benefits any
architecture with a directly testable form of AND.

Patch by Kevin Schoedel


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170576 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-19 19:47:13 +00:00
..
2012-02-29 01:53:13 +00:00
2012-10-02 15:49:34 +00:00
2010-01-05 21:54:09 +00:00
2012-12-18 23:10:12 +00:00
2010-07-12 00:19:47 +00:00
2012-12-06 21:24:47 +00:00
2012-11-14 20:18:34 +00:00
2012-12-04 00:04:54 +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.