Make store to load fwd condition for -memref-dataflow-opt less
conservative. Post dominance info is not really needed. Add additional
check for common cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks great. Minor comments -
mlir/lib/Transforms/MemRefDataFlowOpt.cpp | ||
---|---|---|
44–45 ↗ | (On Diff #351634) | Nit: op's => ops (unrelated to this change) Should the comment change to |
Comment Actions
Looks good, saves PostDominanceInfo calculation.
Minor: comments at some places need to change to does not dominate any ... at a couple of places as pointed out by @ayzhuang .