The legalizer helper functions are unusably awkward to perform the 3-5
part legalization. This needs to be widened, scalarized, lowered, and
we should avoid creating vector extends and truncates. Manually do all
of this and expand.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks OK to me.
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | ||
---|---|---|
1563 | Just curious: why s32 instead of s1 for comparison results? |
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | ||
---|---|---|
1563 | Scalar compares need to use s32, and vector need to use s1: https://github.com/llvm/llvm-project/blob/master/llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp#L28 |
Just curious: why s32 instead of s1 for comparison results?