[clang] [NFC][CodeGen] Create method to clear registers (PR #66958)

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 13:39:47 PDT 2023


================
@@ -8335,6 +8335,26 @@ bool AArch64InstrInfo::shouldOutlineFromFunctionByDefault(
   return MF.getFunction().hasMinSize();
 }
 
+void AArch64InstrInfo::buildClearRegister(Register Reg, MachineBasicBlock &MBB,
----------------
nickdesaulniers wrote:

Ah! Ok, they *why* for this PR was not clear to me.

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


More information about the cfe-commits mailing list