diff options
Diffstat (limited to 'test/CodeGen/AArch64/arm64-this-return.ll')
-rw-r--r-- | test/CodeGen/AArch64/arm64-this-return.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/AArch64/arm64-this-return.ll b/test/CodeGen/AArch64/arm64-this-return.ll index 30f5b9b..3be1a69 100644 --- a/test/CodeGen/AArch64/arm64-this-return.ll +++ b/test/CodeGen/AArch64/arm64-this-return.ll @@ -23,7 +23,7 @@ entry: ; CHECK: b {{_?B_ctor_base}} %0 = bitcast %struct.C* %this to %struct.A* %call = tail call %struct.A* @A_ctor_base(%struct.A* %0) - %1 = getelementptr inbounds %struct.C* %this, i32 0, i32 0 + %1 = getelementptr inbounds %struct.C, %struct.C* %this, i32 0, i32 0 %call2 = tail call %struct.B* @B_ctor_base(%struct.B* %1, i32 %x) ret %struct.C* %this } @@ -37,7 +37,7 @@ entry: ; CHECK-NOT: b {{_?B_ctor_base_nothisret}} %0 = bitcast %struct.C* %this to %struct.A* %call = tail call %struct.A* @A_ctor_base_nothisret(%struct.A* %0) - %1 = getelementptr inbounds %struct.C* %this, i32 0, i32 0 + %1 = getelementptr inbounds %struct.C, %struct.C* %this, i32 0, i32 0 %call2 = tail call %struct.B* @B_ctor_base_nothisret(%struct.B* %1, i32 %x) ret %struct.C* %this } @@ -65,7 +65,7 @@ entry: ; CHECK: bl {{_?B_ctor_complete}} ; CHECK-NOT: mov x0, {{x[0-9]+}} ; CHECK: b {{_?B_ctor_complete}} - %b = getelementptr inbounds %struct.D* %this, i32 0, i32 0 + %b = getelementptr inbounds %struct.D, %struct.D* %this, i32 0, i32 0 %call = tail call %struct.B* @B_ctor_complete(%struct.B* %b, i32 %x) %call2 = tail call %struct.B* @B_ctor_complete(%struct.B* %b, i32 %x) ret %struct.D* %this @@ -75,9 +75,9 @@ define %struct.E* @E_ctor_base(%struct.E* %this, i32 %x) { entry: ; CHECK-LABEL: E_ctor_base: ; CHECK-NOT: b {{_?B_ctor_complete}} - %b = getelementptr inbounds %struct.E* %this, i32 0, i32 0 + %b = getelementptr inbounds %struct.E, %struct.E* %this, i32 0, i32 0 %call = tail call %struct.B* @B_ctor_complete(%struct.B* %b, i32 %x) - %b2 = getelementptr inbounds %struct.E* %this, i32 0, i32 1 + %b2 = getelementptr inbounds %struct.E, %struct.E* %this, i32 0, i32 1 %call2 = tail call %struct.B* @B_ctor_complete(%struct.B* %b2, i32 %x) ret %struct.E* %this } |