Fix a test that was redefining FileCheck variables while referencing old ones.

In preparation for the FileCheck enhancement to support backreferences.

llvm-svn: 169090
This commit is contained in:
Eli Bendersky 2012-12-01 13:50:51 +00:00
parent a35a289de6
commit 2592e4e851
1 changed files with 4 additions and 4 deletions

View File

@ -16,14 +16,14 @@ void clang_shufflevector_v_v( float4* A, float4 x, uint4 mask ) {
// CHECK: [[I:%.*]] = extractelement <4 x i32> [[MASK]], i32 1
// CHECK: [[E:%.*]] = extractelement <4 x float> [[X]], i32 [[I]]
// CHECK: [[V:%.*]] = insertelement <4 x float> [[V]], float [[E]], i32 1
// CHECK: [[V2:%.*]] = insertelement <4 x float> [[V]], float [[E]], i32 1
// CHECK: [[I:%.*]] = extractelement <4 x i32> [[MASK]], i32 2
// CHECK: [[E:%.*]] = extractelement <4 x float> [[X]], i32 [[I]]
// CHECK: [[V:%.*]] = insertelement <4 x float> [[V]], float [[E]], i32 2
// CHECK: [[V3:%.*]] = insertelement <4 x float> [[V2]], float [[E]], i32 2
// CHECK: [[I:%.*]] = extractelement <4 x i32> [[MASK]], i32 3
// CHECK: [[E:%.*]] = extractelement <4 x float> [[X]], i32 [[I]]
// CHECK: [[V:%.*]] = insertelement <4 x float> [[V]], float [[E]], i32 3
// CHECK: store <4 x float> [[V]], <4 x float>* {{%.*}},
// CHECK: [[V4:%.*]] = insertelement <4 x float> [[V3]], float [[E]], i32 3
// CHECK: store <4 x float> [[V4]], <4 x float>* {{%.*}},
*A = __builtin_shufflevector( x, mask );
}