[PATCH] TTI: Add getCallInstrCost.

hfinkel at anl.gov hfinkel at anl.gov
Thu Mar 5 20:54:24 PST 2015


================
Comment at: include/llvm/CodeGen/BasicTTIImpl.h:681
@@ +680,3 @@
+                                    RetTy->getVectorNumElements()))
+      return ScalarCost;
+
----------------
That's not quite right. You still need to call getCallInstrCost with the associated vector types.

http://reviews.llvm.org/D8094

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






More information about the llvm-commits mailing list