We can improve on the generic splitting by using ffbh/ffbl, which have a
defined result when the input is zero.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D107442
[AMDGPU] Improve regbankselect for 64-bit VGPR ctlz/cttz_zero_undef ClosedPublic Authored by foad on Aug 4 2021, 4:10 AM.
Details Summary We can improve on the generic splitting by using ffbh/ffbl, which have a
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others. · View Herald TranscriptAug 4 2021, 4:10 AM This revision is now accepted and ready to land.Aug 4 2021, 3:42 PM This revision was landed with ongoing or failed builds.Aug 6 2021, 1:42 AM Closed by commit rG24b67a9024cc: [AMDGPU][GlobalISel] Improve regbankselect for 64-bit VGPR… (authored by foad). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 364722 llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ctlz-zero-undef.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-cttz-zero-undef.mir
llvm/test/CodeGen/AMDGPU/ctlz.ll
llvm/test/CodeGen/AMDGPU/ctlz_zero_undef.ll
llvm/test/CodeGen/AMDGPU/cttz.ll
llvm/test/CodeGen/AMDGPU/cttz_zero_undef.ll
|