[llvm] [SelectionDAG][RISCV] Avoid store merging across function calls (PR #130430)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 17 09:04:46 PDT 2025
================
@@ -21553,6 +21553,56 @@ bool DAGCombiner::tryStoreMergeOfLoads(SmallVectorImpl<MemOpLink> &StoreNodes,
JointMemOpVT = EVT::getIntegerVT(Context, SizeInBits);
}
+ auto HasCallInLdStChain = [](SmallVectorImpl<MemOpLink> &StoreNodes,
----------------
lukel97 wrote:
Oh I didn't realise it was a member function, but yeah a member function sounds fine
https://github.com/llvm/llvm-project/pull/130430
More information about the llvm-commits
mailing list