[llvm] [AMDGPU] VGPR instruction placement should be aware of exec mask prol… (PR #175080)

Christudasan Devadasan via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 8 23:07:26 PST 2026


================
@@ -2166,6 +2166,12 @@ class LLVM_ABI TargetInstrInfo : public MCInstrInfo {
     return false;
   }
 
+  /// Get the insertion point for a live range split copy at the beginning of
+  /// a basic block. This is used by the register allocator's live range
+  /// splitting logic.
+  virtual MachineBasicBlock::iterator
+  getExecAwareInsertPoint(MachineBasicBlock &MBB, Register Reg) const;
----------------
cdevadas wrote:

Should use a generic name without any target-dependent register details in a common file.

https://github.com/llvm/llvm-project/pull/175080


More information about the llvm-commits mailing list