[polly] r267875 - test: Make test case independent of earlier instructions

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 05:36:40 PDT 2016


Author: grosser
Date: Thu Apr 28 07:36:39 2016
New Revision: 267875

URL: http://llvm.org/viewvc/llvm-project?rev=267875&view=rev
Log:
test: Make test case independent of earlier instructions

Instead of matching for %6, we use a regexp to match for the result strings.
This test case caused unrelated noise in http://reviews.llvm.org/D15722.

Modified:
    polly/trunk/test/Isl/CodeGen/simple_vec_call.ll

Modified: polly/trunk/test/Isl/CodeGen/simple_vec_call.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/simple_vec_call.ll?rev=267875&r1=267874&r2=267875&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/simple_vec_call.ll (original)
+++ polly/trunk/test/Isl/CodeGen/simple_vec_call.ll Thu Apr 28 07:36:39 2016
@@ -28,9 +28,9 @@ return:
 ; CHECK: [[RES2:%[a-zA-Z0-9_]+]] = tail call float @foo(float %.load) [[NUW]]
 ; CHECK: [[RES3:%[a-zA-Z0-9_]+]] = tail call float @foo(float %.load) [[NUW]]
 ; CHECK: [[RES4:%[a-zA-Z0-9_]+]] = tail call float @foo(float %.load) [[NUW]]
-; CHECK: %4 = insertelement <4 x float> undef, float [[RES1]], i32 0
-; CHECK: %5 = insertelement <4 x float> %4, float [[RES2]], i32 1
-; CHECK: %6 = insertelement <4 x float> %5, float [[RES3]], i32 2
-; CHECK: %7 = insertelement <4 x float> %6, float [[RES4]], i32 3
-; CHECK:  store <4 x float> %7
+; CHECK: [[RES5:%[a-zA-Z0-9_]+]] = insertelement <4 x float> undef, float [[RES1]], i32 0
+; CHECK: [[RES6:%[a-zA-Z0-9_]+]] = insertelement <4 x float> [[RES5]], float [[RES2]], i32 1
+; CHECK: [[RES7:%[a-zA-Z0-9_]+]] = insertelement <4 x float> [[RES6]], float [[RES3]], i32 2
+; CHECK: [[RES8:%[a-zA-Z0-9_]+]] = insertelement <4 x float> [[RES7]], float [[RES4]], i32 3
+; CHECK:  store <4 x float> [[RES8]]
 ; CHECK: attributes [[NUW]] = { nounwind }




More information about the llvm-commits mailing list