[llvm] [GlobalISel][AMDGPU][AArch64] Fix GlobalISel copy propagation (PR #188781)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 08:07:19 PDT 2026
================
@@ -1048,6 +1048,7 @@ static bool selectCopy(MachineInstr &I, const TargetInstrInfo &TII,
const TypeSize SrcSize = TRI.getRegSizeInBits(*SrcRC);
const TypeSize DstSize = TRI.getRegSizeInBits(*DstRC);
+ unsigned SubSrcReg = I.getOperand(1).getSubReg();
----------------
jayfoad wrote:
This would normally be called `SrcSubReg`
https://github.com/llvm/llvm-project/pull/188781
More information about the llvm-commits
mailing list