[PATCH] D59014: [TTI] Enable analysis of clib functions in getIntrinsicCosts. NFCI.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 01:14:26 PST 2019


dmgreen added inline comments.


================
Comment at: include/llvm/Analysis/TargetTransformInfo.h:217
   /// being called in the event it is a library call with special lowering.
-  int getCallCost(const Function *F, int NumArgs = -1) const;
+  int getCallCost(const Function *F, int NumArgs = -1, User *U = nullptr) const;
 
----------------
I may be missing something.. but where is this one defined? The changes in TargetTransformInfo.cpp only have two getCallCost functions.


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

https://reviews.llvm.org/D59014





More information about the llvm-commits mailing list