[PATCH] D132199: [LoopPassManager] Ensure to construct loop nests with the outermost loop

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 14:25:01 PDT 2022


aeubanks added a comment.

btw perhaps another way of preventing infinite interchanging is to add some metadata to the loop, like unswitching does https://github.com/llvm/llvm-project/blob/7fb96fb5d33ee55fa5b65497c6074086f43babd2/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp#L3145

although perhaps you do want interchanging to potentially change its mind if we ever simplify a loop, assuming that loop passes will only ever simplify so we converge at some point


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

https://reviews.llvm.org/D132199



More information about the llvm-commits mailing list