[PATCH] D74159: [MachineInstr] Add isCandidateForCallSiteEntry predicate

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 09:40:22 PST 2020


vsk added a comment.

In D74159#1863457 <https://reviews.llvm.org/D74159#1863457>, @djtodoro wrote:

> Hi @vsk, thanks for this!
>
> If this defines all the instructions we want to avoid, this is better approach.


Yes, I believe this blacklist is complete for the currently supported set of targets. In the future, if we need to plumb target-specific information into this predicate, a `TargetInstrInfo` will be available via `getMF()->getSubtarget().getInstrInfo()`.


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

https://reviews.llvm.org/D74159





More information about the llvm-commits mailing list