[PATCH] D109131: [GlobalISel] Add a store-merging optimization pass and enable for AArch64.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 2 11:44:55 PDT 2021
aemerson added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp:271
+ int64_t Overlap1 = *Size1 + SrcValOffset1 - MinOffset;
+ if (AA->isNoAlias(MemoryLocation(MUC0.MMO->getValue(), Overlap0,
+ MUC0.MMO->getAAInfo()),
----------------
aemerson wrote:
> arsenm wrote:
> > Similar to the change in 9d720dcb89e8da4d12aa1832d74614adc6aa2c82, should this use getModRefInfo instead of isNoAlias?
> Maybe, I'll take look at that.
Actually that seems to be only accepting `Instruction*` so we can't use it here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109131/new/
https://reviews.llvm.org/D109131
More information about the llvm-commits
mailing list