[PATCH] D34458: [TTI] Refine the cost of EXT in getUserCost()

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 05:31:49 PDT 2017


delena added inline comments.


================
Comment at: llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h:167
+
+    return TargetTransformInfo::TCC_Basic;
+  }
----------------
At this point we should call to getOperationCost() and ask the target about the cost of Ext for the given type.


Repository:
  rL LLVM

https://reviews.llvm.org/D34458





More information about the llvm-commits mailing list