[PATCH] D119941: [CodeGen] Return false from LiveIntervals::runOnMachineFunction

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 16 08:16:46 PST 2022


foad added a comment.

> I've got the feeling that we could do something at the analysis level to make sure we never return true for an analysis.

Maybe, but I thought the legacy pass manager generally did not distinguish analysis passes from non-analysis passes.

I think we could also use hashing on MachineFunctions to check for MachineFunctionPasses that modify the MF and then return false.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119941



More information about the llvm-commits mailing list