[llvm] [AArch64] Minor aarch64-ldst-opt simplifications (PR #201786)

Ömer Sinan Ağacan via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 06:12:35 PDT 2026


================
@@ -2217,8 +2216,6 @@ AArch64LoadStoreOpt::findMatchingInsn(MachineBasicBlock::iterator I,
           }
 
           Flags.setMergeForward(false);
-          if (!SameLoadReg)
-            Flags.clearRenameReg();
----------------
osa1 wrote:

Moved the non-NFC part here: https://github.com/llvm/llvm-project/pull/207182

I'll update this PR with just the NFC part.

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


More information about the llvm-commits mailing list