mkazantsev added a comment. What was the motivation to make it a function pass? Conceptually it's a loop pass. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D73592/new/ https://reviews.llvm.org/D73592