[PATCH] D16306: [TTI] Add getCacheLineSize
Lawrence Hu via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 14:36:44 PST 2016
hulx2000 added a subscriber: hulx2000.
================
Comment at: include/llvm/Analysis/TargetTransformInfoImpl.h:267
@@ -266,1 +266,3 @@
+ unsigned getCacheLineSize() { return 64; }
+
----------------
Return 64 by default is not good, it would be better if assert or return unsupported message by default, and only return 64 for PPC.
http://reviews.llvm.org/D16306
More information about the llvm-commits
mailing list