[PATCH] TTI: Add getCallInstrCost.

hfinkel at anl.gov hfinkel at anl.gov
Mon Mar 16 22:38:47 PDT 2015


================
Comment at: include/llvm/Analysis/TargetTransformInfo.h:41
@@ -40,2 +40,3 @@
 class Value;
+class TargetLibraryInfo;
 
----------------
Remove this (should not needed, as noted below).

================
Comment at: include/llvm/Analysis/TargetTransformInfo.h:455
@@ +454,3 @@
+  unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys,
+                            const TargetLibraryInfo *TLI) const;
+
----------------
I don't think we need TLI here given the current strategy.

http://reviews.llvm.org/D8094

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list