[llvm] [llvm][AArch64] Preserve regmask when expanding the BLR_BTI pseudo instruction (PR #73927)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 30 04:27:42 PST 2023
================
@@ -838,6 +838,13 @@ bool AArch64ExpandPseudo::expandCALL_BTI(MachineBasicBlock &MBB,
Call->addOperand(CallTarget);
Call->setCFIType(*MBB.getParent(), MI.getCFIType());
----------------
DanielKristofKiss wrote:
maybe we could just say:
`Call->copyImplicitOps(*MBB.getParent(), MI);`
https://github.com/llvm/llvm-project/pull/73927
More information about the llvm-commits
mailing list