diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-02-13 23:34:12 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-02-13 23:34:12 +0000 |
commit | 6c7a7e82a735635d1619afad7c6eefeba6eb3655 (patch) | |
tree | 5bb67ae285698dfb734692fcbf2e4b5b6c216e9d /llvm/test/CodeGen/R600/bitcast.ll | |
parent | 80be9650e36e58c9086f53b8b4b0a2cd2a9e3c75 (diff) | |
download | bcm5719-llvm-6c7a7e82a735635d1619afad7c6eefeba6eb3655.tar.gz bcm5719-llvm-6c7a7e82a735635d1619afad7c6eefeba6eb3655.zip |
R600/SI: Completely Disable TypeRewriter on compute
llvm-svn: 201369
Diffstat (limited to 'llvm/test/CodeGen/R600/bitcast.ll')
-rw-r--r-- | llvm/test/CodeGen/R600/bitcast.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/R600/bitcast.ll b/llvm/test/CodeGen/R600/bitcast.ll index bccc4163857..5bfc0083667 100644 --- a/llvm/test/CodeGen/R600/bitcast.ll +++ b/llvm/test/CodeGen/R600/bitcast.ll @@ -19,3 +19,12 @@ declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float attributes #0 = { "ShaderType"="0" } +; CHECK-LABEL: @i8ptr_v16i8ptr +; CHECK: S_ENDPGM +define void @i8ptr_v16i8ptr(<16 x i8> addrspace(1)* %out, i8 addrspace(1)* %in) { +entry: + %0 = bitcast i8 addrspace(1)* %in to <16 x i8> addrspace(1)* + %1 = load <16 x i8> addrspace(1)* %0 + store <16 x i8> %1, <16 x i8> addrspace(1)* %out + ret void +} |