llvm-6502/lib/Transforms
Dinesh Dwivedi c469e543a0 Added inst combine transforms for single bit tests from Chris's note
if ((x & C) == 0) x |= C becomes x |= C
if ((x & C) != 0) x ^= C becomes x &= ~C
if ((x & C) == 0) x ^= C becomes x |= C
if ((x & C) != 0) x &= ~C becomes x &= ~C
if ((x & C) == 0) x &= ~C becomes nothing

Differential Revision: http://reviews.llvm.org/D3777



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210006 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-02 07:24:36 +00:00
..
Hello
InstCombine Added inst combine transforms for single bit tests from Chris's note 2014-06-02 07:24:36 +00:00
Instrumentation [ASan] Behave the same for functions w/o sanitize_address attribute and blacklisted functions 2014-05-31 00:33:05 +00:00
IPO
ObjCARC
Scalar [Reassociate] Similar to "X + -X" -> "0", added code to handle "X + ~X" -> "-1". 2014-05-31 15:01:54 +00:00
Utils
Vectorize
CMakeLists.txt
LLVMBuild.txt
Makefile