diff options
-rw-r--r-- | test/CodeGenCXX/condition.cpp | 22 | ||||
-rw-r--r-- | test/CodeGenCXX/virt.cpp | 8 |
2 files changed, 15 insertions, 15 deletions
diff --git a/test/CodeGenCXX/condition.cpp b/test/CodeGenCXX/condition.cpp index a1b7a09aa3..e435408aa8 100644 --- a/test/CodeGenCXX/condition.cpp +++ b/test/CodeGenCXX/condition.cpp @@ -64,7 +64,7 @@ void switch_destruct(int z) { z = 19; break; } - // CHECK: {{sw.epilog:|:4}} + // CHECK: {{sw.epilog:|:5}} // CHECK: call void @_ZN16ConvertibleToIntD1Ev // CHECK: store i32 20 z = 20; @@ -74,18 +74,18 @@ int foo(); void while_destruct(int z) { // CHECK: define void @_Z14while_destructi - // CHECK: {{while.cond:|:1}} + // CHECK: {{while.cond:|:2}} while (X x = X()) { // CHECK: call void @_ZN1XC1Ev - // CHECK: {{while.body:|:3}} + // CHECK: {{while.body:|:4}} // CHECK: store i32 21 z = 21; - // CHECK: {{while.cleanup:|:4}} + // CHECK: {{while.cleanup:|:5}} // CHECK: call void @_ZN1XD1Ev } - // CHECK: {{while.end|:6}} + // CHECK: {{while.end|:7}} // CHECK: store i32 22 z = 22; } @@ -94,16 +94,16 @@ void for_destruct(int z) { // CHECK: define void @_Z12for_destruct // CHECK: call void @_ZN1YC1Ev for(Y y = Y(); X x = X(); ++z) - // CHECK: {{for.cond:|:1}} + // CHECK: {{for.cond:|:2}} // CHECK: call void @_ZN1XC1Ev - // CHECK: {{for.body:|:3}} + // CHECK: {{for.body:|:4}} // CHECK: store i32 23 z = 23; - // CHECK: {{for.inc:|:4}} - // CHECK: br label %{{for.cond.cleanup|7}} - // CHECK: {{for.cond.cleanup:|:7}} + // CHECK: {{for.inc:|:5}} + // CHECK: br label %{{for.cond.cleanup|8}} + // CHECK: {{for.cond.cleanup:|:8}} // CHECK: call void @_ZN1XD1Ev - // CHECK: {{for.end:|:9}} + // CHECK: {{for.end:|:10}} // CHECK: call void @_ZN1YD1Ev // CHECK: store i32 24 z = 24; diff --git a/test/CodeGenCXX/virt.cpp b/test/CodeGenCXX/virt.cpp index 04d4855491..9d671c4e5f 100644 --- a/test/CodeGenCXX/virt.cpp +++ b/test/CodeGenCXX/virt.cpp @@ -718,10 +718,10 @@ void test12_foo() { // CHECK-LPLL64} // CHECK-LPLL64:define weak %class.test8_D* @_ZTch0_v16_n32_N8test16_D4foo1Ev(%{{class.test8_D|.*}}*) -// CHECK-LPLL64: %{{retval|2}} = alloca %class.test8_D* -// CHECK-LPLL64: %.addr = alloca %class.test8_D* -// CHECK-LPLL64: store %class.test8_D* %0, %class.test8_D** %.addr -// CHECK-LPLL64: %{{this|3}} = load %class.test8_D** %.addr +// CHECK-LPLL64: %{{retval|1}} = alloca %class.test8_D* +// CHECK-LPLL64: %{{.addr|2}} = alloca %class.test8_D* +// CHECK-LPLL64: store %class.test8_D* %0, %class.test8_D** %{{.addr|2}} +// CHECK-LPLL64: %{{this|3}} = load %class.test8_D** %{{.addr|2}} // CHECK-LPLL64: %{{call|4}} = call %class.test8_D* @_ZN8test16_D4foo1Ev(%class.test8_D* %{{this|3}}) // CHECK-LPLL64: %{{1|5}} = icmp ne %class.test8_D* %{{call|4}}, null // CHECK-LPLL64: br i1 %{{1|5}}, label %{{2|6}}, label %{{12|17}} |