[PATCH] D58389: [NFC][LSR] Cleanup Cost API

Gil Rapaport via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 21 04:31:16 PST 2019


gilr added inline comments.


================
Comment at: lib/Transforms/Scalar/LoopStrengthReduce.cpp:1020
 public:
-  Cost() {
+  Cost(const Loop *L, ScalarEvolution &SE, DominatorTree &DT,
+       const TargetTransformInfo &TTI) :
----------------
If Cost objects are always created with all these initialized please explicitly "= delete" the default c'tor.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58389/new/

https://reviews.llvm.org/D58389





More information about the llvm-commits mailing list