summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/AssumptionCache/basic.ll
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2016-12-15 03:02:15 +0000
committerHal Finkel <hfinkel@anl.gov>2016-12-15 03:02:15 +0000
commit3ca4a6bcf11d6b4ac34fed640f3ab23995ec1877 (patch)
tree4594d31d24d9535dd4f5198505a25dd88c0f8fb5 /llvm/test/Analysis/AssumptionCache/basic.ll
parentcb9f78e1c3951337de4ba24902eced2c72184319 (diff)
downloadbcm5719-llvm-3ca4a6bcf11d6b4ac34fed640f3ab23995ec1877.tar.gz
bcm5719-llvm-3ca4a6bcf11d6b4ac34fed640f3ab23995ec1877.zip
Remove the AssumptionCache
After r289755, the AssumptionCache is no longer needed. Variables affected by assumptions are now found by using the new operand-bundle-based scheme. This new scheme is more computationally efficient, and also we need much less code... llvm-svn: 289756
Diffstat (limited to 'llvm/test/Analysis/AssumptionCache/basic.ll')
-rw-r--r--llvm/test/Analysis/AssumptionCache/basic.ll22
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/test/Analysis/AssumptionCache/basic.ll b/llvm/test/Analysis/AssumptionCache/basic.ll
deleted file mode 100644
index bd4e7b6449f..00000000000
--- a/llvm/test/Analysis/AssumptionCache/basic.ll
+++ /dev/null
@@ -1,22 +0,0 @@
-; RUN: opt < %s -disable-output -passes='print<assumptions>' 2>&1 | FileCheck %s
-
-target datalayout = "e-i64:64-f80:128-n8:16:32:64-S128"
-
-declare void @llvm.assume(i1)
-
-define void @test1(i32 %a) {
-; CHECK-LABEL: Cached assumptions for function: test1
-; CHECK-NEXT: icmp ne i32 %{{.*}}, 0
-; CHECK-NEXT: icmp slt i32 %{{.*}}, 0
-; CHECK-NEXT: icmp sgt i32 %{{.*}}, 0
-
-entry:
- %cond1 = icmp ne i32 %a, 0
- call void @llvm.assume(i1 %cond1)
- %cond2 = icmp slt i32 %a, 0
- call void @llvm.assume(i1 %cond2)
- %cond3 = icmp sgt i32 %a, 0
- call void @llvm.assume(i1 %cond3)
-
- ret void
-}
OpenPOWER on IntegriCloud