[llvm] [NewPM] Don't preserve BlockFrequencyInfo in FunctionToLoopPassAdaptor (PR #157888)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 17 14:52:55 PDT 2025
aeubanks wrote:
paging back in new pass manager into my brain... I'm remembering the compile-time reason loop passes must preserve function analyses (search "quadratic" in https://llvm.org/docs/NewPassManager.html#using-analyses). but this is doing something different, it's not preserving after all the loop passes run in the function -> loop adaptor. I think that should be fine compile-time-wise, it's equivalent to a function pass using and not preserving BFI
I think this makes sense to me, does anyone else have any objections?
https://github.com/llvm/llvm-project/pull/157888
More information about the llvm-commits
mailing list