[PATCH] D10477: Expand loop reroll to handle loop with multiple induction variables and negative increment -part 1/3

Lawrence Hu lawrence at codeaurora.org
Fri Jul 17 10:34:18 PDT 2015


hulx2000 added inline comments.

================
Comment at: lib/Transforms/Scalar/LoopRerollPass.cpp:372
@@ +371,3 @@
+                     TargetLibraryInfo *TLI,
+                     DenseMap<Instruction *, int64_t> &IncrMap)
+          : Parent(Parent), L(L), SE(SE), AA(AA), TLI(TLI), IV(IV),
----------------
jmolloy wrote:
> This should be const, to notify a user that it is not captured or modified.
unfortunately, compiler always contains if I do that.


Repository:
  rL LLVM

http://reviews.llvm.org/D10477







More information about the llvm-commits mailing list