diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2016-11-03 17:13:50 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2016-11-03 17:13:50 +0000 |
commit | 2b3379cdffaa5d2af96abf0489f9755149be1f8e (patch) | |
tree | 95c48ec395af390718e2900e4eed4bbefd0d257a /llvm/test/CodeGen/AMDGPU/ctlz.ll | |
parent | 40c15abe5fa31468f3ccc5c4439d29bb5e2e8c71 (diff) | |
download | bcm5719-llvm-2b3379cdffaa5d2af96abf0489f9755149be1f8e.tar.gz bcm5719-llvm-2b3379cdffaa5d2af96abf0489f9755149be1f8e.zip |
AMDGPU: Add VI i16 support
Patch By: Wei Ding
Differential Revision: https://reviews.llvm.org/D18049
llvm-svn: 285939
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/ctlz.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/ctlz.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/ctlz.ll b/llvm/test/CodeGen/AMDGPU/ctlz.ll index 597f11c490c..0d0ead69aa0 100644 --- a/llvm/test/CodeGen/AMDGPU/ctlz.ll +++ b/llvm/test/CodeGen/AMDGPU/ctlz.ll @@ -100,6 +100,7 @@ define void @v_ctlz_v4i32(<4 x i32> addrspace(1)* noalias %out, <4 x i32> addrsp ; GCN: buffer_load_ubyte [[VAL:v[0-9]+]], ; GCN-DAG: v_ffbh_u32_e32 [[RESULT:v[0-9]+]], [[VAL]] ; GCN: buffer_store_byte [[RESULT]], +; GCN: s_endpgm define void @v_ctlz_i8(i8 addrspace(1)* noalias %out, i8 addrspace(1)* noalias %valptr) nounwind { %val = load i8, i8 addrspace(1)* %valptr %ctlz = call i8 @llvm.ctlz.i8(i8 %val, i1 false) nounwind readnone |