[PATCH] D143758: [CodeGen] MRI call back in TargetMachine

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 02:28:25 PST 2023


qcolombet added a comment.

Hi @cdevadas,

What do you want to achieve with this call back?

It feels wrong to me that the `TargetMachine` would need to know about the `MRI`. IIRC, the `TargetMachine` holds information that applies to the whole target and doesn't do any specific based on each function. (At least it doesn't hold any state.)

Cheers,
-Quentin


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143758



More information about the llvm-commits mailing list