summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnswitch
diff options
context:
space:
mode:
authorDinesh Dwivedi <dinesh.d@samsung.com>2014-06-02 07:24:36 +0000
committerDinesh Dwivedi <dinesh.d@samsung.com>2014-06-02 07:24:36 +0000
commit43e127bded3b0173cc0f5b541c785e342edfb4d1 (patch)
tree70e66939379c778539d9a2d4931bfbd4100a5814 /llvm/test/Transforms/LoopUnswitch
parent1feec4b81fd977f779fbc1031dacbc5a3b4c5a8d (diff)
downloadbcm5719-llvm-43e127bded3b0173cc0f5b541c785e342edfb4d1.tar.gz
bcm5719-llvm-43e127bded3b0173cc0f5b541c785e342edfb4d1.zip
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 llvm-svn: 210006
Diffstat (limited to 'llvm/test/Transforms/LoopUnswitch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud