[PATCH] D45216: [Attributes] Add IntrinsicLoweredToCall attribute.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 18:12:54 PDT 2018


efriedma added a comment.

Sorry, had to refresh my memory about how TargetTransformInfo is implemented.  isLoweredToCall is already virtual; TargetTransformInfo is just using some some funny template magic to reduce the abstraction penalty.  You can override it by adding an implementation to BasicTTIImpl.h/ARMTargetTransformInfo.h/etc.


https://reviews.llvm.org/D45216





More information about the llvm-commits mailing list