[PATCH] D86956: [AArch64] Avoid pairing loads when the base reg is modified

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 07:22:06 PDT 2020


fhahn accepted this revision.
fhahn added a comment.
This revision is now accepted and ready to land.

LGTM, thanks!



================
Comment at: llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp:1564
+        // If the BaseReg has been modified, then we cannot do the optimization.
+        // for example, in the following pattern
+        //   ldr x1 [x2]
----------------
nit: capitalize `For`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86956/new/

https://reviews.llvm.org/D86956



More information about the llvm-commits mailing list