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/NVPTX/addrspacecast.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/NVPTX/addrspacecast.ll')
-rw-r--r-- | test/CodeGen/NVPTX/addrspacecast.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/CodeGen/NVPTX/addrspacecast.ll b/test/CodeGen/NVPTX/addrspacecast.ll index 03b9a98..42e67ca 100644 --- a/test/CodeGen/NVPTX/addrspacecast.ll +++ b/test/CodeGen/NVPTX/addrspacecast.ll @@ -10,7 +10,7 @@ define i32 @conv1(i32 addrspace(1)* %ptr) { ; PTX64: cvta.global.u64 ; PTX64: ld.u32 %genptr = addrspacecast i32 addrspace(1)* %ptr to i32* - %val = load i32* %genptr + %val = load i32, i32* %genptr ret i32 %val } @@ -22,7 +22,7 @@ define i32 @conv2(i32 addrspace(3)* %ptr) { ; PTX64: cvta.shared.u64 ; PTX64: ld.u32 %genptr = addrspacecast i32 addrspace(3)* %ptr to i32* - %val = load i32* %genptr + %val = load i32, i32* %genptr ret i32 %val } @@ -34,7 +34,7 @@ define i32 @conv3(i32 addrspace(4)* %ptr) { ; PTX64: cvta.const.u64 ; PTX64: ld.u32 %genptr = addrspacecast i32 addrspace(4)* %ptr to i32* - %val = load i32* %genptr + %val = load i32, i32* %genptr ret i32 %val } @@ -46,7 +46,7 @@ define i32 @conv4(i32 addrspace(5)* %ptr) { ; PTX64: cvta.local.u64 ; PTX64: ld.u32 %genptr = addrspacecast i32 addrspace(5)* %ptr to i32* - %val = load i32* %genptr + %val = load i32, i32* %genptr ret i32 %val } @@ -58,7 +58,7 @@ define i32 @conv5(i32* %ptr) { ; PTX64: cvta.to.global.u64 ; PTX64: ld.global.u32 %specptr = addrspacecast i32* %ptr to i32 addrspace(1)* - %val = load i32 addrspace(1)* %specptr + %val = load i32, i32 addrspace(1)* %specptr ret i32 %val } @@ -70,7 +70,7 @@ define i32 @conv6(i32* %ptr) { ; PTX64: cvta.to.shared.u64 ; PTX64: ld.shared.u32 %specptr = addrspacecast i32* %ptr to i32 addrspace(3)* - %val = load i32 addrspace(3)* %specptr + %val = load i32, i32 addrspace(3)* %specptr ret i32 %val } @@ -82,7 +82,7 @@ define i32 @conv7(i32* %ptr) { ; PTX64: cvta.to.const.u64 ; PTX64: ld.const.u32 %specptr = addrspacecast i32* %ptr to i32 addrspace(4)* - %val = load i32 addrspace(4)* %specptr + %val = load i32, i32 addrspace(4)* %specptr ret i32 %val } @@ -94,6 +94,6 @@ define i32 @conv8(i32* %ptr) { ; PTX64: cvta.to.local.u64 ; PTX64: ld.local.u32 %specptr = addrspacecast i32* %ptr to i32 addrspace(5)* - %val = load i32 addrspace(5)* %specptr + %val = load i32, i32 addrspace(5)* %specptr ret i32 %val } |