summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-02-18 02:13:50 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-02-18 02:13:50 +0000
commit0ceb68a5525eda5e89aea4ba97115b94d8dcc5f9 (patch)
tree9db9ff807d5767026f6466a707841fe94f1be2cd /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
parent8661a72b483676235b414b23e4a7a739c63dd9e2 (diff)
downloadbcm5719-llvm-0ceb68a5525eda5e89aea4ba97115b94d8dcc5f9.tar.gz
bcm5719-llvm-0ceb68a5525eda5e89aea4ba97115b94d8dcc5f9.zip
Some dag combiner goodness:
Transform br (xor (x, y)) -> br (x != y) Transform br (xor (xor (x,y), 1)) -> br (x == y) Also normalize (and (X, 1) == / != 1 -> (and (X, 1)) != / == 0 to match to "test on x86" and "tst on arm" llvm-svn: 96556
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud