[PATCH] D158501: [WIP][MemCpyOpt] implement liveness analysis based stack-move optimization

Kohei Asano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 12:31:43 PDT 2023


khei4 planned changes to this revision.
khei4 added a comment.

If I used the backward approach like this, I couldn't handle cleanly some cases that we could merge in the multi-BB case (for example, src and dest are read-only together; I believe it's a sufficiently familiar case for Rust). Still, I now noticed extending the ModRef analysis in a more forward flow-sensitive way could cover the use after def cases as complex as this patch is. So a change is planned.


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

https://reviews.llvm.org/D158501



More information about the llvm-commits mailing list