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

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 17:42:03 PDT 2017


echristo accepted this revision.
echristo added inline comments.


================
Comment at: lib/Target/PowerPC/PPCCTRLoops.cpp:124
     const TargetLibraryInfo *LibInfo;
+    const TargetTransformInfo *TTI=nullptr;
     LoopInfo *LI;
----------------
hfinkel wrote:
> Spaces around the =.
The initialization here looks a little weird since it's not anywhere else...


https://reviews.llvm.org/D38212





More information about the llvm-commits mailing list