[cfe-commits] r169090 - /cfe/trunk/test/CodeGen/builtinshufflevector2.c

Eli Bendersky eliben at google.com
Sat Dec 1 05:50:51 PST 2012


Author: eliben
Date: Sat Dec  1 07:50:51 2012
New Revision: 169090

URL: http://llvm.org/viewvc/llvm-project?rev=169090&view=rev
Log:
Fix a test that was redefining FileCheck variables while referencing old ones.

In preparation for the FileCheck enhancement to support backreferences.

Modified:
    cfe/trunk/test/CodeGen/builtinshufflevector2.c

Modified: cfe/trunk/test/CodeGen/builtinshufflevector2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtinshufflevector2.c?rev=169090&r1=169089&r2=169090&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtinshufflevector2.c (original)
+++ cfe/trunk/test/CodeGen/builtinshufflevector2.c Sat Dec  1 07:50:51 2012
@@ -16,14 +16,14 @@
 
 // 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 );
 }
 





More information about the cfe-commits mailing list