diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-02-18 02:13:50 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-02-18 02:13:50 +0000 |
commit | 89bb7b56407bf81a5d5fdcdac7106d94bb30dd65 (patch) | |
tree | 92fb7534bd2dd143be928893e1134ef3f5153081 /test/CodeGen/X86/critical-edge-split.ll | |
parent | ca82a15ad1830440dadfd18116d1a450df34b90a (diff) | |
download | external_llvm-89bb7b56407bf81a5d5fdcdac7106d94bb30dd65.zip external_llvm-89bb7b56407bf81a5d5fdcdac7106d94bb30dd65.tar.gz external_llvm-89bb7b56407bf81a5d5fdcdac7106d94bb30dd65.tar.bz2 |
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"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/critical-edge-split.ll')
-rw-r--r-- | test/CodeGen/X86/critical-edge-split.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/critical-edge-split.ll b/test/CodeGen/X86/critical-edge-split.ll index 4fe554d..f29cbf3 100644 --- a/test/CodeGen/X86/critical-edge-split.ll +++ b/test/CodeGen/X86/critical-edge-split.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=i386-apple-darwin -tailcallopt=false -stats -info-output-file - | grep asm-printer | grep 31 +; RUN: llc < %s -mtriple=i386-apple-darwin -stats -info-output-file - | grep asm-printer | grep 29 %CC = type { %Register } %II = type { %"struct.XX::II::$_74" } |