[llvm] [AArch64] Don't emit Neon in streaming[-compatible] functions with -fzero-call-used-regs (PR #116995)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 08:30:05 PST 2024


================
@@ -9694,19 +9694,26 @@ void AArch64InstrInfo::buildClearRegister(Register Reg, MachineBasicBlock &MBB,
                                           MachineBasicBlock::iterator Iter,
                                           DebugLoc &DL,
                                           bool AllowSideEffects) const {
-  const MachineFunction &MF = *MBB.getParent();
+  MachineFunction &MF = *MBB.getParent();
----------------
sdesmalen-arm wrote:

Is this change necessary?

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


More information about the llvm-commits mailing list