[PATCH] TTI: Honour cost model for estimating cost of vector-intrinsic and calls.

hfinkel at anl.gov hfinkel at anl.gov
Thu Mar 5 20:52:51 PST 2015


================
Comment at: include/llvm/CodeGen/BasicTTIImpl.h:548
@@ +547,3 @@
+      if (ScalarCalls == 1)
+        return 10;
+
----------------
Why are you changing the default cost for intrinsics from one to ten? I believe it used to be one, and that was because we made an explicit decision to make intrinsics default to something cheap.

http://reviews.llvm.org/D8096

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






More information about the llvm-commits mailing list