[llvm] [AMDGPU] Fix GlobalISel VGPR-to-VCC lowering types (PR #220987)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 01:02:43 PDT 2026
================
@@ -1485,7 +1485,7 @@ bool RegBankLegalizeHelper::lower(MachineInstr &MI,
}
case VgprToVccCopy: {
Register Src = MI.getOperand(1).getReg();
- LLT Ty = MRI.getType(Src);
+ LLT Ty = LLT::integer(MRI.getType(Src).getSizeInBits());
----------------
arsenm wrote:
This is hacking up something that was the wrong type to start with
https://github.com/llvm/llvm-project/pull/220987
More information about the llvm-commits
mailing list