[NFC] Try to fix CodeGenCXX/thunk-wrong-this.cpp test

This commit is contained in:
Roman Lebedev 2021-05-13 21:09:45 +03:00
parent 54310fc176
commit 9d3eb7885d
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0
1 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@ class alignas(16) Obj : public Base1, public Base2 {
void Obj::Foo1() {}
void Obj::Foo2() {}
// CHECK: define dso_local void @_ZN3Obj4Foo2Ev(%class.Obj.0* nonnull align 16 dereferenceable(16) %this) unnamed_addr #0 align 2 {
// CHECK: define {{.*}}void @_ZN3Obj4Foo2Ev(%{{.*}}* nonnull align 16 dereferenceable(16) %this) unnamed_addr #0 align 2 {
// FIXME: the argument should be %class.Base2.2* nonnull dereferenceable(8) %this
// CHECK: define dso_local void @_ZThn8_N3Obj4Foo2Ev(%class.Obj.0* %this) unnamed_addr #1 align 2 {
// CHECK: define dso_local void @_ZThn8_N3Obj4Foo2Ev(%{{.*}}* %this) unnamed_addr #1 align 2 {
// CHECK: tail call void @_ZN3Obj4Foo2Ev(%class.Obj.0* nonnull align 16 dereferenceable(16) %2)
// CHECK: tail call void @_ZN3Obj4Foo2Ev(%{{.*}}* nonnull align 16 dereferenceable(16) %2)