This will prevent following regression when enabling i16 support (D18049):
test/CodeGen/AMDGPU/ctlz.ll test/CodeGen/AMDGPU/ctlz_zero_undef.ll
Paths
| Differential D25802
[AMDGPU] Check if type transforms to i16 (VI+) when getting AMDGPUISD::FFBH_U32 ClosedPublic Authored by kzhuravl on Oct 19 2016, 4:42 PM.
Details Summary This will prevent following regression when enabling i16 support (D18049): test/CodeGen/AMDGPU/ctlz.ll test/CodeGen/AMDGPU/ctlz_zero_undef.ll
Diff Detail
Event Timelinekzhuravl updated this object. kzhuravl added a child revision: D18049: AMDGPU/SI: Make i16 a legal type for VI subtargets.Oct 19 2016, 5:04 PM
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 this object. kzhuravl edited edge metadata. Comment ActionsWe do not need to promote it. Fixed during combining.
kzhuravl edited edge metadata. kzhuravl marked 4 inline comments as done. Comment ActionsAddress review feedback This revision is now accepted and ready to land.Nov 1 2016, 10:34 AM Closed by commit rL285716: [AMDGPU] Check if type transforms to i16 (VI+) when getting AMDGPUISD::FFBH_U32 (authored by kzhuravl). · Explain WhyNov 1 2016, 10:59 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 76599 llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.h
llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.h
llvm/trunk/test/CodeGen/AMDGPU/ctlz.ll
llvm/trunk/test/CodeGen/AMDGPU/ctlz_zero_undef.ll
|