[llvm-branch-commits] [llvm] [InlineSpiller][AMDGPU] Implement subreg reload during RA spill (PR #175002)
Christudasan Devadasan via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 12 08:21:23 PST 2026
================
@@ -1215,6 +1215,7 @@ class LLVM_ABI TargetInstrInfo : public MCInstrInfo {
virtual void loadRegFromStackSlot(
MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, Register DestReg,
int FrameIndex, const TargetRegisterClass *RC, Register VReg,
+ unsigned SubReg = 0,
----------------
cdevadas wrote:
Tried to insert a new branch just before this branch to factor out the generic code introduced in the target hook loadRegFromStackSlot to add the extra argument SugReg. The graphite failed when I tried to submit the new stack.
ERROR: Failed to retarget PR: Failed to create ref: Reference update failed.
It is quite annoying that a new branch can't be inserted into an existing PR stack.
https://github.com/llvm/llvm-project/pull/175002
More information about the llvm-branch-commits
mailing list