summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-03-28 18:42:50 +0000
committerChad Rosier <mcrosier@apple.com>2012-03-28 18:42:50 +0000
commite27081d34838309c3ea398c6a1a496d65316bf6c (patch)
treee5188b692605a575372bf5765a840e1d3fc71e8c /llvm/test
parent48c157c25a348cf886ce759fc157d947cfdfc6f6 (diff)
downloadbcm5719-llvm-e27081d34838309c3ea398c6a1a496d65316bf6c.tar.gz
bcm5719-llvm-e27081d34838309c3ea398c6a1a496d65316bf6c.zip
Revert r153521 as it's causing large regressions on the nightly testers.
Original commit message for r153521 (aka r153423): Use the new range metadata in computeMaskedBits and add a new optimization to instruction simplify that lets us remove an and when loding a boolean value. llvm-svn: 153587
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/InstSimplify/pr12251.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/Transforms/InstSimplify/pr12251.ll b/llvm/test/Transforms/InstSimplify/pr12251.ll
deleted file mode 100644
index f180f9f1eba..00000000000
--- a/llvm/test/Transforms/InstSimplify/pr12251.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
-
-define zeroext i1 @_Z3fooPb(i8* nocapture %x) {
-entry:
- %a = load i8* %x, align 1, !range !0
- %b = and i8 %a, 1
- %tobool = icmp ne i8 %b, 0
- ret i1 %tobool
-}
-
-; CHECK: %a = load i8* %x, align 1, !range !0
-; CHECK-NEXT: %tobool = icmp ne i8 %a, 0
-; CHECK-NEXT: ret i1 %tobool
-
-!0 = metadata !{i8 0, i8 2}
OpenPOWER on IntegriCloud