Displaying 1 result from an estimated 1 matches for "711f9f02".
2018 Apr 03
2
[llvm] Query the target from an opt pass?
Hmmm, a quick look at the documentation for TargetTransformInfo doesn't look
like it.
In LegalizeDAG.cpp it uses TLI.getOperationAction() to find out if an SDNode
should be expanded by the legalizer or passed down to the target. That's what
I need to know, but I need it in a pass pre-legalization.
This seems like weird layering, though. Having an "optimization" pass be
looking