[llvm] [AMDGPU] RA inserted scalar instructions can be at the BB top (PR #72140)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 13:54:34 PST 2023
================
@@ -846,8 +846,11 @@ class MachineBasicBlock
/// Return the first instruction in MBB after I that is not a PHI, label or
/// debug. This is the correct point to insert copies at the beginning of a
- /// basic block.
- iterator SkipPHIsLabelsAndDebug(iterator I, bool SkipPseudoOp = true);
+ /// basic block. \p Reg is an optional argument passed during register
+ /// allocator to have additional target specific checks for its spill/copy
----------------
rampitec wrote:
allocator -> allocation. I also believe it shall be spill/restore/copy.
https://github.com/llvm/llvm-project/pull/72140
More information about the llvm-commits
mailing list