summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-05-16 04:27:38 +0000
committerOwen Anderson <resistor@mac.com>2008-05-16 04:27:38 +0000
commitd870b9a4e35b9c22c491eaa4ec15351ce50f1a5f (patch)
tree313cf71f4c945019c0e7d533e854e046f1018ac5 /test
parent90d27365409d9311f9e0511f476549a8968d584f (diff)
downloadllvm-d870b9a4e35b9c22c491eaa4ec15351ce50f1a5f.tar.gz
llvm-d870b9a4e35b9c22c491eaa4ec15351ce50f1a5f.tar.bz2
llvm-d870b9a4e35b9c22c491eaa4ec15351ce50f1a5f.tar.xz
Use loop deletion instead of ADCE for removing loops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/IndVarsSimplify/exit_value_tests.ll2
-rw-r--r--test/Transforms/IndVarsSimplify/loop_evaluate_1.ll2
-rw-r--r--test/Transforms/IndVarsSimplify/loop_evaluate_2.ll2
-rw-r--r--test/Transforms/IndVarsSimplify/tripcount_compute.ll2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/Transforms/IndVarsSimplify/exit_value_tests.ll b/test/Transforms/IndVarsSimplify/exit_value_tests.ll
index 5e26ea22d9..b39f40f486 100644
--- a/test/Transforms/IndVarsSimplify/exit_value_tests.ll
+++ b/test/Transforms/IndVarsSimplify/exit_value_tests.ll
@@ -2,7 +2,7 @@
; these loops all have predictable exit values we can replace the use outside
; of the loop with a closed-form computation, making the loop dead.
;
-; RUN: llvm-as < %s | opt -indvars -adce -simplifycfg | \
+; RUN: llvm-as < %s | opt -indvars -loop-deletion -simplifycfg | \
; RUN: llvm-dis | not grep br
define i32 @polynomial_constant() {
diff --git a/test/Transforms/IndVarsSimplify/loop_evaluate_1.ll b/test/Transforms/IndVarsSimplify/loop_evaluate_1.ll
index ffff30ae40..dfb42e4fea 100644
--- a/test/Transforms/IndVarsSimplify/loop_evaluate_1.ll
+++ b/test/Transforms/IndVarsSimplify/loop_evaluate_1.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -adce -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-as < %s | opt -indvars -loop-deletion -simplifycfg | llvm-dis | not grep br
;
; Testcase distilled from 256.bzip2
diff --git a/test/Transforms/IndVarsSimplify/loop_evaluate_2.ll b/test/Transforms/IndVarsSimplify/loop_evaluate_2.ll
index 635950aed6..efcf20a934 100644
--- a/test/Transforms/IndVarsSimplify/loop_evaluate_2.ll
+++ b/test/Transforms/IndVarsSimplify/loop_evaluate_2.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars -adce -simplifycfg | opt \
+; RUN: llvm-as < %s | opt -indvars -loop-deletion -simplifycfg | opt \
; RUN: -analyze -loops | not grep "^Loop Containing"
; PR1179
diff --git a/test/Transforms/IndVarsSimplify/tripcount_compute.ll b/test/Transforms/IndVarsSimplify/tripcount_compute.ll
index 1abc82d635..9ffce81302 100644
--- a/test/Transforms/IndVarsSimplify/tripcount_compute.ll
+++ b/test/Transforms/IndVarsSimplify/tripcount_compute.ll
@@ -3,7 +3,7 @@
; the exit value of the loop will be for some value, allowing us to substitute
; it directly into users outside of the loop, making the loop dead.
;
-; RUN: llvm-as < %s | opt -indvars -adce -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-as < %s | opt -indvars -loop-deletion -simplifycfg | llvm-dis | not grep br
define i32 @linear_setne() {
entry: