[llvm] (WIP)(RFC)[MachineScheduler] A new approach to computing memory dependencies (PR #205689)
Valeriy Savchenko via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 02:43:39 PDT 2026
================
@@ -945,60 +881,116 @@ void ScheduleDAGInstrs::buildSchedGraph(AAResults *AA,
if (MI.mayStore()) {
if (!ObjsFound) {
- // An unknown store depends on all stores and loads.
- addChainDependencies(SU, Stores);
- addChainDependencies(SU, NonAliasStores);
- addChainDependencies(SU, Loads);
- addChainDependencies(SU, NonAliasLoads);
+ UnknownValueFrontier &Frontier =
----------------
SavchenkoValeriy wrote:
Maybe this whole block can be its own function with a large comment explaining the mechanics of the sequencing stores on higher level and how we use it to avoid AA query blow-ups?
https://github.com/llvm/llvm-project/pull/205689
More information about the llvm-commits
mailing list