diff options
author | Eli Bendersky <eliben@google.com> | 2012-12-01 13:50:51 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2012-12-01 13:50:51 +0000 |
commit | 2592e4e851f0d697cc1a362de918db3d5e8f10d8 (patch) | |
tree | a8866d557573e9423481b0bbc3a679c63b9a4739 /clang/test | |
parent | a35a289de6ecb0fa948b386fe5d907869d496739 (diff) | |
download | bcm5719-llvm-2592e4e851f0d697cc1a362de918db3d5e8f10d8.tar.gz bcm5719-llvm-2592e4e851f0d697cc1a362de918db3d5e8f10d8.zip |
Fix a test that was redefining FileCheck variables while referencing old ones.
In preparation for the FileCheck enhancement to support backreferences.
llvm-svn: 169090
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/builtinshufflevector2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/builtinshufflevector2.c b/clang/test/CodeGen/builtinshufflevector2.c index faf7a3ec1a1..ac0e07a4190 100644 --- a/clang/test/CodeGen/builtinshufflevector2.c +++ b/clang/test/CodeGen/builtinshufflevector2.c @@ -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 ); } |