[llvm-branch-commits] [llvm] CodeGen: Record MMOs in finalizeBundle (PR #166210)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 4 13:45:34 PST 2025
================
@@ -200,6 +201,8 @@ void llvm::finalizeBundle(MachineBasicBlock &MBB,
MIB.setMIFlag(MachineInstr::FrameSetup);
if (MII->getFlag(MachineInstr::FrameDestroy))
MIB.setMIFlag(MachineInstr::FrameDestroy);
+
+ append_range(MMOs, MII->memoperands());
----------------
arsenm wrote:
It might be worth uniquing these, which cloneMergedMemRefs seems to do for you
https://github.com/llvm/llvm-project/pull/166210
More information about the llvm-branch-commits
mailing list