[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.

llvm-svn: 272992
This commit is contained in:
Adam Nemet 2016-06-17 09:13:15 +00:00
parent 74a8a2214a
commit e7709d92ba
1 changed files with 2 additions and 2 deletions

View File

@ -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