diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
tree | a6140557876943cdd800ee997c9317283394b22c /test/CodeGen/NVPTX/bug21465.ll | |
parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) |
Vendor import of llvm trunk r238337:vendor/llvm/llvm-trunk-r238337
Notes
Notes:
svn path=/vendor/llvm/dist/; revision=283625
svn path=/vendor/llvm/llvm-trunk-r238337/; revision=283626; tag=vendor/llvm/llvm-trunk-r238337
Diffstat (limited to 'test/CodeGen/NVPTX/bug21465.ll')
-rw-r--r-- | test/CodeGen/NVPTX/bug21465.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/NVPTX/bug21465.ll b/test/CodeGen/NVPTX/bug21465.ll index cacffceac517..76af386c6516 100644 --- a/test/CodeGen/NVPTX/bug21465.ll +++ b/test/CodeGen/NVPTX/bug21465.ll @@ -11,8 +11,8 @@ entry: ; CHECK-LABEL @_Z22TakesStruct1SPi ; CHECK: bitcast %struct.S* %input to i8* ; CHECK: call i8 addrspace(101)* @llvm.nvvm.ptr.gen.to.param.p101i8.p0i8 - %b = getelementptr inbounds %struct.S* %input, i64 0, i32 1 - %0 = load i32* %b, align 4 + %b = getelementptr inbounds %struct.S, %struct.S* %input, i64 0, i32 1 + %0 = load i32, i32* %b, align 4 store i32 %0, i32* %output, align 4 ret void } |