diff options
| author | Alexander Timofeev <Alexander.Timofeev@amd.com> | 2018-09-11 11:56:50 +0000 |
|---|---|---|
| committer | Alexander Timofeev <Alexander.Timofeev@amd.com> | 2018-09-11 11:56:50 +0000 |
| commit | db7ee7660a8efce83ad34a3b211f5d3e624a3afd (patch) | |
| tree | 3ceac940a3c81557e70c188ad1d660636c326f3c /llvm/test/CodeGen/AMDGPU/ctpop16.ll | |
| parent | ae3cfeb3ad0e4d3d8846d83c4b75e2933f043800 (diff) | |
| download | bcm5719-llvm-db7ee7660a8efce83ad34a3b211f5d3e624a3afd.tar.gz bcm5719-llvm-db7ee7660a8efce83ad34a3b211f5d3e624a3afd.zip | |
[AMDGPU] Preliminary patch for divergence driven instruction selection. Immediate selection predicate changed
Differential revision: https://reviews.llvm.org/D51734
Reviewers: rampitec
llvm-svn: 341928
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/ctpop16.ll')
| -rw-r--r-- | llvm/test/CodeGen/AMDGPU/ctpop16.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/ctpop16.ll b/llvm/test/CodeGen/AMDGPU/ctpop16.ll index 3a7e905250c..9e774d151c4 100644 --- a/llvm/test/CodeGen/AMDGPU/ctpop16.ll +++ b/llvm/test/CodeGen/AMDGPU/ctpop16.ll @@ -227,9 +227,9 @@ define amdgpu_kernel void @v_ctpop_i16_add_inline_constant_inv(i16 addrspace(1)* ; FUNC-LABEL: {{^}}v_ctpop_i16_add_literal: ; GCN-DAG: {{buffer|flat}}_load_ushort [[VAL:v[0-9]+]], -; SI-DAG: v_mov_b32_e32 [[LIT:v[0-9]+]], 0x3e7 +; SI-DAG: s_movk_i32 [[LIT:s[0-9]+]], 0x3e7 ; VI-DAG: s_movk_i32 [[LIT:s[0-9]+]], 0x3e7 -; SI: v_bcnt_u32_b32_e32 [[RESULT:v[0-9]+]], [[VAL]], [[LIT]] +; SI: v_bcnt_u32_b32_e64 [[RESULT:v[0-9]+]], [[VAL]], [[LIT]] ; VI: v_bcnt_u32_b32 [[RESULT:v[0-9]+]], [[VAL]], [[LIT]] ; GCN: buffer_store_short [[RESULT]], ; GCN: s_endpgm |

