[PATCH] D51200: Introduce per-callsite inline intrinsics

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 4 23:00:41 PST 2019


rjmccall added inline comments.


================
Comment at: include/clang/CodeGen/CGFunctionInfo.h:517
 
+  unsigned InlineCall : 2;
+
----------------
xbolva00 wrote:
> rjmccall wrote:
> > Please don't propagate this information through the `CGFunctionInfo`.  I really want this type to be *less* site-specific, not *more*.
> I like this patch but sadly, it was abandoned.
> 
> What way of passing this info would you recommend?
I don't remember much about this anymore, but CGCall is perfectly capable of adding attributes based on call-site-specific information.


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

https://reviews.llvm.org/D51200





More information about the cfe-commits mailing list