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/PowerPC/complex-return.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/PowerPC/complex-return.ll')
-rw-r--r-- | test/CodeGen/PowerPC/complex-return.ll | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/CodeGen/PowerPC/complex-return.ll b/test/CodeGen/PowerPC/complex-return.ll index 9d25e61..e419f07 100644 --- a/test/CodeGen/PowerPC/complex-return.ll +++ b/test/CodeGen/PowerPC/complex-return.ll @@ -7,19 +7,19 @@ define { ppc_fp128, ppc_fp128 } @foo() nounwind { entry: %retval = alloca { ppc_fp128, ppc_fp128 }, align 16 %x = alloca { ppc_fp128, ppc_fp128 }, align 16 - %real = getelementptr inbounds { ppc_fp128, ppc_fp128 }* %x, i32 0, i32 0 - %imag = getelementptr inbounds { ppc_fp128, ppc_fp128 }* %x, i32 0, i32 1 + %real = getelementptr inbounds { ppc_fp128, ppc_fp128 }, { ppc_fp128, ppc_fp128 }* %x, i32 0, i32 0 + %imag = getelementptr inbounds { ppc_fp128, ppc_fp128 }, { ppc_fp128, ppc_fp128 }* %x, i32 0, i32 1 store ppc_fp128 0xM400C0000000000000000000000000000, ppc_fp128* %real store ppc_fp128 0xMC00547AE147AE1483CA47AE147AE147A, ppc_fp128* %imag - %x.realp = getelementptr inbounds { ppc_fp128, ppc_fp128 }* %x, i32 0, i32 0 - %x.real = load ppc_fp128* %x.realp - %x.imagp = getelementptr inbounds { ppc_fp128, ppc_fp128 }* %x, i32 0, i32 1 - %x.imag = load ppc_fp128* %x.imagp - %real1 = getelementptr inbounds { ppc_fp128, ppc_fp128 }* %retval, i32 0, i32 0 - %imag2 = getelementptr inbounds { ppc_fp128, ppc_fp128 }* %retval, i32 0, i32 1 + %x.realp = getelementptr inbounds { ppc_fp128, ppc_fp128 }, { ppc_fp128, ppc_fp128 }* %x, i32 0, i32 0 + %x.real = load ppc_fp128, ppc_fp128* %x.realp + %x.imagp = getelementptr inbounds { ppc_fp128, ppc_fp128 }, { ppc_fp128, ppc_fp128 }* %x, i32 0, i32 1 + %x.imag = load ppc_fp128, ppc_fp128* %x.imagp + %real1 = getelementptr inbounds { ppc_fp128, ppc_fp128 }, { ppc_fp128, ppc_fp128 }* %retval, i32 0, i32 0 + %imag2 = getelementptr inbounds { ppc_fp128, ppc_fp128 }, { ppc_fp128, ppc_fp128 }* %retval, i32 0, i32 1 store ppc_fp128 %x.real, ppc_fp128* %real1 store ppc_fp128 %x.imag, ppc_fp128* %imag2 - %0 = load { ppc_fp128, ppc_fp128 }* %retval + %0 = load { ppc_fp128, ppc_fp128 }, { ppc_fp128, ppc_fp128 }* %retval ret { ppc_fp128, ppc_fp128 } %0 } @@ -33,19 +33,19 @@ define { float, float } @oof() nounwind { entry: %retval = alloca { float, float }, align 4 %x = alloca { float, float }, align 4 - %real = getelementptr inbounds { float, float }* %x, i32 0, i32 0 - %imag = getelementptr inbounds { float, float }* %x, i32 0, i32 1 + %real = getelementptr inbounds { float, float }, { float, float }* %x, i32 0, i32 0 + %imag = getelementptr inbounds { float, float }, { float, float }* %x, i32 0, i32 1 store float 3.500000e+00, float* %real store float 0xC00547AE20000000, float* %imag - %x.realp = getelementptr inbounds { float, float }* %x, i32 0, i32 0 - %x.real = load float* %x.realp - %x.imagp = getelementptr inbounds { float, float }* %x, i32 0, i32 1 - %x.imag = load float* %x.imagp - %real1 = getelementptr inbounds { float, float }* %retval, i32 0, i32 0 - %imag2 = getelementptr inbounds { float, float }* %retval, i32 0, i32 1 + %x.realp = getelementptr inbounds { float, float }, { float, float }* %x, i32 0, i32 0 + %x.real = load float, float* %x.realp + %x.imagp = getelementptr inbounds { float, float }, { float, float }* %x, i32 0, i32 1 + %x.imag = load float, float* %x.imagp + %real1 = getelementptr inbounds { float, float }, { float, float }* %retval, i32 0, i32 0 + %imag2 = getelementptr inbounds { float, float }, { float, float }* %retval, i32 0, i32 1 store float %x.real, float* %real1 store float %x.imag, float* %imag2 - %0 = load { float, float }* %retval + %0 = load { float, float }, { float, float }* %retval ret { float, float } %0 } |