diff options
author | Manman Ren <mren@apple.com> | 2012-06-03 03:14:24 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-06-03 03:14:24 +0000 |
commit | c73ea9102b711d6c2bfd33a86e1c07565c83ffe7 (patch) | |
tree | 93079f101950e519aa60a79497c2c935450e7412 /test | |
parent | 57ae246a6a5a2bce6997cdf1d1e41b568109a469 (diff) | |
download | external_llvm-c73ea9102b711d6c2bfd33a86e1c07565c83ffe7.zip external_llvm-c73ea9102b711d6c2bfd33a86e1c07565c83ffe7.tar.gz external_llvm-c73ea9102b711d6c2bfd33a86e1c07565c83ffe7.tar.bz2 |
Revert r157831
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/jump_sign.ll | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/X86/jump_sign.ll b/test/CodeGen/X86/jump_sign.ll index c1fad43..cf5408e 100644 --- a/test/CodeGen/X86/jump_sign.ll +++ b/test/CodeGen/X86/jump_sign.ll @@ -83,25 +83,6 @@ entry: %cond = select i1 %cmp, i32 %sub, i32 0 ret i32 %cond } -; redundant cmp instruction -define i32 @l(i32 %a, i32 %b) nounwind { -entry: -; CHECK: l: -; CHECK-NOT: cmp - %cmp = icmp slt i32 %b, %a - %sub = sub nsw i32 %a, %b - %cond = select i1 %cmp, i32 %sub, i32 %a - ret i32 %cond -} -define i32 @m(i32 %a, i32 %b) nounwind { -entry: -; CHECK: m: -; CHECK-NOT: cmp - %cmp = icmp sgt i32 %a, %b - %sub = sub nsw i32 %a, %b - %cond = select i1 %cmp, i32 %b, i32 %sub - ret i32 %cond -} ; rdar://11540023 define i64 @n(i64 %x, i64 %y) nounwind { entry: |