[PATCH] D44735: [LV] Add TTI::shouldMaximizeVectorBandwidth to allow enabling it per target

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 21 14:17:42 PDT 2018


craig.topper added inline comments.


================
Comment at: include/llvm/Analysis/TargetTransformInfo.h:1344
   }
+  bool shouldMaximizeVectorBandwidth(bool OptSize) const override {
+    return Impl.shouldMaximizeVectorBandwidth(OptSize);
----------------
Is const needed here? Looking at the nearby methods, it seems only getRegisterBitWidth has it.


Repository:
  rL LLVM

https://reviews.llvm.org/D44735





More information about the llvm-commits mailing list