[llvm] r272992 - [LLE] Don't hard-code the name of the preheader in test
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 17 02:13:16 PDT 2016
Author: anemet
Date: Fri Jun 17 04:13:15 2016
New Revision: 272992
URL: http://llvm.org/viewvc/llvm-project?rev=272992&view=rev
Log:
[LLE] Don't hard-code the name of the preheader in test
Turns out a didn't get this right because symbolic stride versioning
changes the name. Relax the matching.
Modified:
llvm/trunk/test/Transforms/LoopLoadElim/symbolic-stride.ll
Modified: llvm/trunk/test/Transforms/LoopLoadElim/symbolic-stride.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopLoadElim/symbolic-stride.ll?rev=272992&r1=272991&r2=272992&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopLoadElim/symbolic-stride.ll (original)
+++ llvm/trunk/test/Transforms/LoopLoadElim/symbolic-stride.ll Fri Jun 17 04:13:15 2016
@@ -1,4 +1,4 @@
-; RUN: opt -loop-load-elim -S < %s | FileCheck %s -check-prefix=CHECK
+; RUN: opt -loop-load-elim -S < %s | FileCheck %s
; Forwarding in the presence of symbolic strides is currently not supported:
;
@@ -15,7 +15,7 @@ entry:
br label %for.body
for.body: ; preds = %for.body, %entry
-; CHECK-NOT: %store_forwarded = phi i32 [ %load_initial, %entry ], [ %add, %for.body ]
+; CHECK-NOT: %store_forwarded = phi i32 [ %load_initial, {{.*}} ], [ %add, %for.body ]
%indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ]
%mul = mul i64 %indvars.iv, %stride
%arrayidx = getelementptr inbounds i32, i32* %A, i64 %mul
More information about the llvm-commits
mailing list