diff options
author | Leny Kholodov <lkholodov@accesssoftek.com> | 2015-06-08 11:06:59 +0000 |
---|---|---|
committer | Leny Kholodov <lkholodov@accesssoftek.com> | 2015-06-08 11:06:59 +0000 |
commit | 8a7b827b3decdc63e1c390080a0e46ac0eb7773d (patch) | |
tree | f14510a8f4191c32a1e539f3fce04709dda1fd95 /clang/test/CodeGenCXX/stack-reuse.cpp | |
parent | 98a137196a4d3f728bddace175528c01fe617fbe (diff) | |
download | bcm5719-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.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/stack-reuse.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/test/CodeGenCXX/stack-reuse.cpp b/clang/test/CodeGenCXX/stack-reuse.cpp index ef73d1a5387..a975f30a048 100644 --- a/clang/test/CodeGenCXX/stack-reuse.cpp +++ b/clang/test/CodeGenCXX/stack-reuse.cpp @@ -132,13 +132,13 @@ void large_auto_object() { int large_combiner_test(S_large s) { // CHECK-LABEL: define i32 @large_combiner_test -// CHECK: %1 = alloca %struct.Combiner -// CHECK: %2 = alloca %struct.Combiner -// CHECK: %3 = call %struct.Combiner* @_ZN8CombinerC1E7S_large(%struct.Combiner* %1, [9 x i32] %s.coerce) -// CHECK: call void @_ZN8Combiner1fEv(%struct.Combiner* sret %2, %struct.Combiner* %1) -// CHECK: %4 = getelementptr inbounds %struct.Combiner, %struct.Combiner* %2, i32 0, i32 0, i32 0, i32 0 -// CHECK: %5 = load i32, i32* %4 -// CHECK: ret i32 %5 +// CHECK: [[T1:%.*]] = alloca %struct.Combiner +// CHECK: [[T2:%.*]] = alloca %struct.Combiner +// CHECK: [[T3:%.*]] = call %struct.Combiner* @_ZN8CombinerC1E7S_large(%struct.Combiner* [[T1]], [9 x i32] %s.coerce) +// CHECK: call void @_ZN8Combiner1fEv(%struct.Combiner* sret [[T2]], %struct.Combiner* [[T1]]) +// CHECK: [[T4:%.*]] = getelementptr inbounds %struct.Combiner, %struct.Combiner* [[T2]], i32 0, i32 0, i32 0, i32 0 +// CHECK: [[T5:%.*]] = load i32, i32* [[T4]] +// CHECK: ret i32 [[T5]] return Combiner(s).f().a.a[0]; } |