[PATCH] D99249: [PassManager] Run additional LICM before LoopRotate
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 14:28:40 PDT 2021
lebedev.ri added a comment.
In D99249#2662288 <https://reviews.llvm.org/D99249#2662288>, @lebedev.ri wrote:
> I'm not sure how to write proper interestingness test for this, but e.g. given this input F16057899: reduced.ll <https://reviews.llvm.org/F16057899> (bad example, in the end everything optimizes away)
> <...>
> Note how the `-licm -loop-rotate` causes `%sub.i.i` to be computed in-loop.
> Do tell if that isn't sufficient of an answer.
Or more visibly: https://godbolt.org/z/GzEbacs4K
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99249/new/
https://reviews.llvm.org/D99249
More information about the llvm-commits
mailing list