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 364037 llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ctlz-zero-undef.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-cttz-zero-undef.mir
|
clang-tidy: warning: 'true' and 'false' expressions are equivalent [misc-redundant-expression]
not useful
clang-tidy: error: no member named 'G_AMDGPU_FFBL_B32' in namespace 'llvm::AMDGPU'; did you mean 'G_AMDGPU_FFBH_U32'? [clang-diagnostic-error]
not useful