[PATCH] D118541: export MachineModuleAnalysis to the new pass manager

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 22:18:51 PST 2022


ychen added a comment.

In D118541#3292632 <https://reviews.llvm.org/D118541#3292632>, @vtjnash wrote:

> TargetTransformInfo does not currently have what I need, but if I can add it there, it would also satisfy my needs. I wanted it for an optimization pass (to pre-populate some codegen decisions earlier in the pipeline for better performance), but it looks like all current in-tree consumers are codegen-related.

Sounds reasonable. It is target-specific and for the sake of better performance, I think the best bet is to use `TargetTransformInfo`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118541



More information about the llvm-commits mailing list