[libc-commits] [libc] [NFC][CodeGen] Create method to clear registers (PR #66958)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Thu Sep 21 13:38:55 PDT 2023
================
@@ -2057,6 +2057,14 @@ class TargetInstrInfo : public MCInstrInfo {
"Target didn't implement TargetInstrInfo::insertOutlinedCall!");
}
+ /// Insert an architecture-specific instruction to clear a register.
+ virtual void buildClearRegister(Register Reg, MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator Iter,
----------------
nickdesaulniers wrote:
That's fair, np.
https://github.com/llvm/llvm-project/pull/66958
More information about the libc-commits
mailing list