[llvm] [AMDGPU] In instruction selector, allow copy from physical reg to s1 (PR #96157)
Jun Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 6 14:29:17 PST 2025
================
@@ -139,6 +139,10 @@ bool AMDGPUInstructionSelector::selectCOPY(MachineInstr &I) const {
return RBI.constrainGenericRegister(DstReg, *RC, *MRI);
}
+ // Allow copy from physical register other than SCC to s1.
+ if (SrcReg.isPhysical() && SrcReg != AMDGPU::SCC)
----------------
jwanggit86 wrote:
@arsenm ping.
https://github.com/llvm/llvm-project/pull/96157
More information about the llvm-commits
mailing list