[PATCH] D38212: [PowerPC] Add profitablilty check for conversion to mtctr loops

Lei Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 11 15:02:00 PDT 2017


lei added inline comments.


================
Comment at: lib/Target/PowerPC/PPCCTRLoops.cpp:124
     const TargetLibraryInfo *LibInfo;
+    const TargetTransformInfo *TTI=nullptr;
     LoopInfo *LI;
----------------
echristo wrote:
> hfinkel wrote:
> > Spaces around the =.
> The initialization here looks a little weird since it's not anywhere else...
Yes, this is not needed.  I will remove the initialization prior to committing this patch.


https://reviews.llvm.org/D38212





More information about the llvm-commits mailing list