summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll b/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll
deleted file mode 100644
index 82cf85fa4cd..00000000000
--- a/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: opt < %s -instcombine -S | FileCheck %s
-; <rdar://problem/10803154>
-
-; There should be no transformation.
-; CHECK: %a = trunc i32 %x to i8
-; CHECK: %b = icmp ne i8 %a, 0
-; CHECK: %c = and i32 %x, 16711680
-; CHECK: %d = icmp ne i32 %c, 0
-; CHECK: %e = and i1 %b, %d
-; CHECK: ret i1 %e
-
-define i1 @f1(i32 %x) {
- %a = trunc i32 %x to i8
- %b = icmp ne i8 %a, 0
- %c = and i32 %x, 16711680
- %d = icmp ne i32 %c, 0
- %e = and i1 %b, %d
- ret i1 %e
-}
OpenPOWER on IntegriCloud