[llvm] [AArch64] New subtarget features to control ldp and stp formation, fo… (PR #66098)

Manos Anagnostakis via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 02:23:01 PDT 2023


================
@@ -2159,6 +2167,30 @@ bool AArch64LoadStoreOpt::tryToPairLdStInst(MachineBasicBlock::iterator &MBBI) {
     // Keeping the iterator straight is a pain, so we let the merge routine tell
     // us what the next instruction is after it's done mucking about.
     auto Prev = std::prev(MBBI);
+
+    // Fetch the memoperand of the load/store that is a candidate for
+    // combination.
+    MachineMemOperand *MemOp = MI.memoperands().front();
----------------
manosanaggh wrote:

Sure, pushing real soon.

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


More information about the llvm-commits mailing list