[llvm-commits] [llvm] r131939 - /llvm/trunk/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll

Andrew Trick atrick at apple.com
Mon May 23 17:17:53 PDT 2011


Author: atrick
Date: Mon May 23 19:17:53 2011
New Revision: 131939

URL: http://llvm.org/viewvc/llvm-project?rev=131939&view=rev
Log:
Test case for r130799 - indvars: Added canExpandBackEdgeTakenCount.

Modified:
    llvm/trunk/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll

Modified: llvm/trunk/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll?rev=131939&r1=131938&r2=131939&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll Mon May 23 19:17:53 2011
@@ -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





More information about the llvm-commits mailing list