[llvm] [SPIR-V] Fix sub-byte argument type mismatch in call lowering (PR #189893)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 00:12:31 PDT 2026
================
@@ -395,7 +395,6 @@ bool SPIRVCallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder,
assert(VRegs[i].size() == 1 && "Formal arg has multiple vregs");
Register ArgReg = VRegs[i][0];
MRI->setRegClass(ArgReg, GR->getRegClass(ArgTypeVRegs[i]));
- MRI->setType(ArgReg, GR->getRegType(ArgTypeVRegs[i]));
----------------
aobolensk wrote:
567 is definitely another situation: it lowers call site arguments
https://github.com/llvm/llvm-project/pull/189893
More information about the llvm-commits
mailing list