diff options
author | Owen Anderson <resistor@mac.com> | 2008-05-16 04:27:38 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-05-16 04:27:38 +0000 |
commit | d870b9a4e35b9c22c491eaa4ec15351ce50f1a5f (patch) | |
tree | 313cf71f4c945019c0e7d533e854e046f1018ac5 /test/Transforms/IndVarsSimplify | |
parent | 90d27365409d9311f9e0511f476549a8968d584f (diff) | |
download | external_llvm-d870b9a4e35b9c22c491eaa4ec15351ce50f1a5f.zip external_llvm-d870b9a4e35b9c22c491eaa4ec15351ce50f1a5f.tar.gz external_llvm-d870b9a4e35b9c22c491eaa4ec15351ce50f1a5f.tar.bz2 |
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/Transforms/IndVarsSimplify')
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 5e26ea2..b39f40f 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 ffff30a..dfb42e4 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 635950a..efcf20a 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 1abc82d..9ffce81 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: |