[PATCH] [TTI] Teach the cost heuristic how to query TLI to check if a zext/trunc is "free" for the target.
hfinkel at anl.gov
hfinkel at anl.gov
Thu Feb 12 05:38:48 PST 2015
LGTM.
================
Comment at: include/llvm/Analysis/TargetTransformInfoImpl.h:424
@@ -423,2 +423,3 @@
// Otherwise delegate to the fully generic implementations.
+ return static_cast<T *>(this)->getOperationCost(
----------------
Remove the comment; we're not delegating to the "fully generic" version any more.
http://reviews.llvm.org/D7585
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list