diff options
| author | Adam Nemet <anemet@apple.com> | 2016-06-17 09:13:15 +0000 | 
|---|---|---|
| committer | Adam Nemet <anemet@apple.com> | 2016-06-17 09:13:15 +0000 | 
| commit | e7709d92ba09e0318b27265415064db5d3ea03b6 (patch) | |
| tree | f7b822e61d8d210a2cc5c25c2ee32d80ef0e9bcc | |
| parent | 74a8a2214adc51f8cdf77954ab3e8c8bf1334248 (diff) | |
| download | bcm5719-llvm-e7709d92ba09e0318b27265415064db5d3ea03b6.tar.gz bcm5719-llvm-e7709d92ba09e0318b27265415064db5d3ea03b6.zip  | |
[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
| -rw-r--r-- | llvm/test/Transforms/LoopLoadElim/symbolic-stride.ll | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopLoadElim/symbolic-stride.ll b/llvm/test/Transforms/LoopLoadElim/symbolic-stride.ll index a0fc7e6749e..3e33b3fc173 100644 --- a/llvm/test/Transforms/LoopLoadElim/symbolic-stride.ll +++ b/llvm/test/Transforms/LoopLoadElim/symbolic-stride.ll @@ -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  | 

