aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-05-24 00:17:53 +0000
committerAndrew Trick <atrick@apple.com>2011-05-24 00:17:53 +0000
commit3a2f557bdc10156ad9877ed960ca98e1a1daa68c (patch)
tree9451f04d29c82f007fb5f2be08950ab083899f93 /test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll
parentc481b70a6aeadb54c880f70422631044af4856b9 (diff)
downloadexternal_llvm-3a2f557bdc10156ad9877ed960ca98e1a1daa68c.zip
external_llvm-3a2f557bdc10156ad9877ed960ca98e1a1daa68c.tar.gz
external_llvm-3a2f557bdc10156ad9877ed960ca98e1a1daa68c.tar.bz2
Test case for r130799 - indvars: Added canExpandBackEdgeTakenCount.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll')
-rw-r--r--test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll b/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll
index 34d432b..52c9e5c 100644
--- a/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll
+++ b/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll
@@ -1,4 +1,8 @@
-; RUN: opt < %s -indvars
+; RUN: opt < %s -indvars -disable-output -stats -info-output-file - | FileCheck %s
+; Check that IndVarSimplify is not creating unnecessary canonical IVs
+; that will never be used.
+; CHECK-NOT: indvars
+
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
@ue = external global i64