From: Adam Nemet Date: Fri, 17 Jun 2016 09:13:15 +0000 (+0000) Subject: [LLE] Don't hard-code the name of the preheader in test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2554aeaa7d5ce86e50fcbb1acb1f100518447944;p=llvm [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272992 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/LoopLoadElim/symbolic-stride.ll b/test/Transforms/LoopLoadElim/symbolic-stride.ll index a0fc7e6749e..3e33b3fc173 100644 --- a/test/Transforms/LoopLoadElim/symbolic-stride.ll +++ b/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