[llvm-branch-commits] [llvm] [AMDGPU][MC] Replace shifted registers in CFI instructions (PR #164726)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Feb 7 06:54:17 PST 2026
================
@@ -1234,6 +1234,10 @@ class LLVM_ABI MachineFunction {
[[nodiscard]] unsigned addFrameInst(const MCCFIInstruction &Inst);
+ /// Replace all references to register \param From with register \param To in
+ /// frame instructions. Note that .cfi_escape instructions will be left as-is.
+ void replaceFrameInstRegister(Register From, Register To);
----------------
arsenm wrote:
Assuming these are physical registers, should use MCRegister
https://github.com/llvm/llvm-project/pull/164726
More information about the llvm-branch-commits
mailing list