[llvm] [AMDGPU] Allocate i1 argument to SGPRs (PR #72461)
Thomas Symalla via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 20 11:04:54 PST 2023
================
@@ -852,12 +852,22 @@ void SIInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
}
if (!AMDGPU::SReg_32RegClass.contains(SrcReg)) {
+ // When calling convention allocates SGPR for i1 argument, we may
+ // have a SRPR_64 to SReg_32 copy for an outgoing i1 argument. Adjust
----------------
tsymalla wrote:
Typo: SRPR_64
https://github.com/llvm/llvm-project/pull/72461
More information about the llvm-commits
mailing list