diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 22:08:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 22:08:18 +0000 |
commit | 13a7db5b9c4f5e543d037be68ec3428216bfd550 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/CodeGen/X86/this-return-64.ll | |
parent | 0eb46f5d1e06a4284663d636a74b06adc3a161d7 (diff) | |
parent | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (diff) | |
download | external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.zip external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.gz external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.bz2 |
am 31195f0b: Merge "Update aosp/master llvm for rebase to r233350"
* commit '31195f0bdca6ee2a5e72d07edf13e1d81206d949':
Update aosp/master llvm for rebase to r233350
Diffstat (limited to 'test/CodeGen/X86/this-return-64.ll')
-rw-r--r-- | test/CodeGen/X86/this-return-64.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/X86/this-return-64.ll b/test/CodeGen/X86/this-return-64.ll index 4e6be71..df8f416 100644 --- a/test/CodeGen/X86/this-return-64.ll +++ b/test/CodeGen/X86/this-return-64.ll @@ -16,7 +16,7 @@ define %struct.C* @C_ctor(%struct.C* %this, i32 %y) { entry: ; CHECK-LABEL: C_ctor: ; CHECK: jmp B_ctor # TAILCALL - %0 = getelementptr inbounds %struct.C* %this, i64 0, i32 0 + %0 = getelementptr inbounds %struct.C, %struct.C* %this, i64 0, i32 0 %call = tail call %struct.B* @B_ctor(%struct.B* %0, i32 %y) ret %struct.C* %this } @@ -25,7 +25,7 @@ define %struct.C* @C_ctor_nothisret(%struct.C* %this, i32 %y) { entry: ; CHECK-LABEL: C_ctor_nothisret: ; CHECK-NOT: jmp B_ctor_nothisret - %0 = getelementptr inbounds %struct.C* %this, i64 0, i32 0 + %0 = getelementptr inbounds %struct.C, %struct.C* %this, i64 0, i32 0 %call = tail call %struct.B* @B_ctor_nothisret(%struct.B* %0, i32 %y) ret %struct.C* %this } @@ -39,7 +39,7 @@ entry: ; CHECK: jmp B_ctor # TAILCALL %0 = bitcast %struct.D* %this to %struct.A* %call = tail call %struct.A* @A_ctor(%struct.A* %0) - %1 = getelementptr inbounds %struct.D* %this, i64 0, i32 0 + %1 = getelementptr inbounds %struct.D, %struct.D* %this, i64 0, i32 0 %call2 = tail call %struct.B* @B_ctor(%struct.B* %1, i32 %y) ; (this next line would never be generated by Clang, actually) %2 = bitcast %struct.A* %call to %struct.D* @@ -55,7 +55,7 @@ entry: ; CHECK-NOT: jmp B_ctor_nothisret %0 = bitcast %struct.D* %this to %struct.A* %call = tail call %struct.A* @A_ctor_nothisret(%struct.A* %0) - %1 = getelementptr inbounds %struct.D* %this, i64 0, i32 0 + %1 = getelementptr inbounds %struct.D, %struct.D* %this, i64 0, i32 0 %call2 = tail call %struct.B* @B_ctor_nothisret(%struct.B* %1, i32 %y) ; (this next line would never be generated by Clang, actually) %2 = bitcast %struct.A* %call to %struct.D* @@ -69,7 +69,7 @@ entry: ; CHECK: callq B_ctor ; CHECK: movq [[SAVETHIS]], %rcx ; CHECK: jmp B_ctor # TAILCALL - %b = getelementptr inbounds %struct.E* %this, i64 0, i32 0 + %b = getelementptr inbounds %struct.E, %struct.E* %this, i64 0, i32 0 %call = tail call %struct.B* @B_ctor(%struct.B* %b, i32 %x) %call4 = tail call %struct.B* @B_ctor(%struct.B* %b, i32 %x) ret %struct.E* %this @@ -82,7 +82,7 @@ entry: ; CHECK: callq B_ctor_nothisret ; CHECK: movq [[SAVETHIS]], %rcx ; CHECK-NOT: jmp B_ctor_nothisret - %b = getelementptr inbounds %struct.E* %this, i64 0, i32 0 + %b = getelementptr inbounds %struct.E, %struct.E* %this, i64 0, i32 0 %call = tail call %struct.B* @B_ctor_nothisret(%struct.B* %b, i32 %x) %call4 = tail call %struct.B* @B_ctor_nothisret(%struct.B* %b, i32 %x) ret %struct.E* %this |