The type passed to lower was invalid, so I'm not sure how this was
even working before. The source and destination type also do not have
to match, so make sure to use the right ones.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D74188
GlobalISel: Fix lowering of G_CTLZ/G_CTTZ ClosedPublic Authored by arsenm on Feb 6 2020, 6:19 PM.
Details Summary The type passed to lower was invalid, so I'm not sure how this was
Diff Detail Event TimelineThis revision is now accepted and ready to land.Feb 7 2020, 3:44 AM
Revision Contents
Diff 243067 llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ctlz.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-cttz.mir
llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-bitcounts.mir
|
long line