[cfe-commits] r113963 - /cfe/trunk/test/CodeGenCXX/temporaries.cpp
John McCall
rjmccall at apple.com
Wed Sep 15 03:38:11 PDT 2010
Author: rjmccall
Date: Wed Sep 15 05:38:11 2010
New Revision: 113963
URL: http://llvm.org/viewvc/llvm-project?rev=113963&view=rev
Log:
Test hardening.
Modified:
cfe/trunk/test/CodeGenCXX/temporaries.cpp
Modified: cfe/trunk/test/CodeGenCXX/temporaries.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/temporaries.cpp?rev=113963&r1=113962&r2=113963&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/temporaries.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/temporaries.cpp Wed Sep 15 05:38:11 2010
@@ -348,10 +348,10 @@
// CHECK: define void @_ZN7Elision5test0Ev()
void test0() {
// CHECK: [[I:%.*]] = alloca [[A:%.*]], align 8
- // CHECK-NEXT: [[J:%.*]] = alloca [[A:%.*]], align 8
- // CHECK-NEXT: [[T0:%.*]] = alloca [[A:%.*]], align 8
- // CHECK-NEXT: [[K:%.*]] = alloca [[A:%.*]], align 8
- // CHECK-NEXT: [[T1:%.*]] = alloca [[A:%.*]], align 8
+ // CHECK-NEXT: [[J:%.*]] = alloca [[A]], align 8
+ // CHECK-NEXT: [[T0:%.*]] = alloca [[A]], align 8
+ // CHECK-NEXT: [[K:%.*]] = alloca [[A]], align 8
+ // CHECK-NEXT: [[T1:%.*]] = alloca [[A]], align 8
// CHECK-NEXT: call void @_ZN7Elision3fooEv()
// CHECK-NEXT: call void @_ZN7Elision1AC1Ev([[A]]* [[I]])
@@ -375,8 +375,8 @@
// CHECK: define void @_ZN7Elision5test1EbNS_1AE(
void test1(bool c, A x) {
- // CHECK: [[I:%.*]] = alloca [[A:%.*]], align 8
- // CHECK-NEXT: [[J:%.*]] = alloca [[A:%.*]], align 8
+ // CHECK: [[I:%.*]] = alloca [[A]], align 8
+ // CHECK-NEXT: [[J:%.*]] = alloca [[A]], align 8
// CHECK: call void @_ZN7Elision1AC1Ev([[A]]* [[I]])
// CHECK: call void @_ZN7Elision1AC1ERKS0_([[A]]* [[I]], [[A]]* [[X:%.*]])
More information about the cfe-commits
mailing list