[PATCH] D12139: Add 'strlen' formation to LoopIdiomRecognize

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 00:40:25 PDT 2015


sanjoy added inline comments.

================
Comment at: lib/Transforms/Scalar/LoopIdiomRecognize.cpp:205
@@ -198,2 +204,3 @@
       *CurLoop->getHeader()->getParent());
+  this->LPM = &LPM;
 
----------------
sanjoy wrote:
> Why `this->`?
Never mind this one -- I missed the `LPM` on both sides initially.


Repository:
  rL LLVM

http://reviews.llvm.org/D12139





More information about the llvm-commits mailing list