summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
diff options
context:
space:
mode:
authorLeny Kholodov <lkholodov@accesssoftek.com>2015-06-08 11:06:59 +0000
committerLeny Kholodov <lkholodov@accesssoftek.com>2015-06-08 11:06:59 +0000
commit8a7b827b3decdc63e1c390080a0e46ac0eb7773d (patch)
treef14510a8f4191c32a1e539f3fce04709dda1fd95 /clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
parent98a137196a4d3f728bddace175528c01fe617fbe (diff)
downloadbcm5719-llvm-8a7b827b3decdc63e1c390080a0e46ac0eb7773d.tar.gz
bcm5719-llvm-8a7b827b3decdc63e1c390080a0e46ac0eb7773d.zip
Fix for temporary variable names in stack reuse tests in revision 239294
llvm-svn: 239296
Diffstat (limited to 'clang/test/CodeGenCXX/stack-reuse-miscompile.cpp')
-rw-r--r--clang/test/CodeGenCXX/stack-reuse-miscompile.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp b/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
index e6b9cbe3365..ff01bee8026 100644
--- a/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
+++ b/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
@@ -23,17 +23,17 @@ public:
const char * f(S s)
{
-// CHECK: %1 = alloca %class.T, align 4
-// CHECK: %2 = alloca %class.T, align 4
-// CHECK: %3 = alloca %class.S, align 4
-// CHECK: %4 = alloca %class.T, align 4
-// CHECK: %5 = call x86_thiscallcc %class.T* @"\01??0T@@QAE@QBD@Z"
-// CHECK: %6 = bitcast %class.S* %3 to i8*
-// CHECK: %7 = bitcast %class.S* %s to i8*
+// CHECK: [[T1:%.*]] = alloca %class.T, align 4
+// CHECK: [[T2:%.*]] = alloca %class.T, align 4
+// CHECK: [[T3:%.*]] = alloca %class.S, align 4
+// CHECK: [[T4:%.*]] = alloca %class.T, align 4
+// CHECK: [[T5:%.*]] = call x86_thiscallcc %class.T* @"\01??0T@@QAE@QBD@Z"
+// CHECK: [[T6:%.*]] = bitcast %class.S* [[T3]] to i8*
+// CHECK: [[T7:%.*]] = bitcast %class.S* %s to i8*
// CHECK: call void @llvm.memcpy.p0i8.p0i8.i32
-// CHECK: %8 = call x86_thiscallcc %class.T* @"\01??0T@@QAE@VS@@@Z"
+// CHECK: [[T8:%.*]] = call x86_thiscallcc %class.T* @"\01??0T@@QAE@VS@@@Z"
// CHECK: call x86_thiscallcc void @"\01?concat@T@@QBE?AV1@ABV1@@Z"
-// CHECK: %9 = call x86_thiscallcc i8* @"\01?str@T@@QBEPBDXZ"(%class.T* %4)
+// CHECK: [[T9:%.*]] = call x86_thiscallcc i8* @"\01?str@T@@QBEPBDXZ"(%class.T* [[T4]])
return T("[").concat(T(s)).str();
}
OpenPOWER on IntegriCloud