[PATCH] D25802: [AMDGPU] Check if type transforms to i16 (VI+) when getting AMDGPUISD::FFBH_U32

Konstantin Zhuravlyov via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 16:12:48 PDT 2016


kzhuravl retitled this revision from "[AMDGPU] Promote ctlz (i1, i16] intrinsic to i32" to "[AMDGPU] Check if type transforms to i16 (VI+) when getting AMDGPUISD::FFBH_U32".
kzhuravl updated the summary for this revision.
kzhuravl updated this revision to Diff 75500.
kzhuravl added a comment.

We do not need to promote it. Fixed during combining.


https://reviews.llvm.org/D25802

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  test/CodeGen/AMDGPU/ctlz.ll
  test/CodeGen/AMDGPU/ctlz_zero_undef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25802.75500.patch
Type: text/x-patch
Size: 15682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161021/2353347e/attachment-0001.bin>


More information about the llvm-commits mailing list