[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Switch RegBankLegalize lowering to extended LLTs (PR #208270)
Chinmay Deshpande via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 9 13:48:34 PDT 2026
================
@@ -1242,7 +1245,7 @@ bool RegBankLegalizeHelper::lowerAbsToNegMax(MachineInstr &MI) {
Register Zero;
if (Ty == V2S16) {
// buildConstant cannot produce a V2S16 directly; pack two S16 zeros.
- Register Zero16 = B.buildConstant({VgprRB, S16}, 0).getReg(0);
+ Register Zero16 = B.buildConstant({VgprRB, LLT::integer(16)}, 0).getReg(0);
----------------
chinmaydd wrote:
Can introduce `I16` for `LLT::integer(16)`
https://github.com/llvm/llvm-project/pull/208270
More information about the llvm-branch-commits
mailing list