[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:49:05 PDT 2026
================
@@ -1444,17 +1448,18 @@ bool RegBankLegalizeHelper::lower(MachineInstr &MI,
MachineInstrBuilder Hi;
switch (MI.getOpcode()) {
case AMDGPU::G_ZEXT: {
- Hi = B.buildConstant({RB, S32}, 0);
+ Hi = B.buildConstant({RB, LLT::integer(32)}, 0);
----------------
chinmaydd wrote:
```suggestion
Hi = B.buildConstant({RB, I32}, 0);
```
https://github.com/llvm/llvm-project/pull/208270
More information about the llvm-branch-commits
mailing list