[PATCH] D26429: [LSR] Allow formula containing Reg for SCEVAddRecExpr with loop other than current loop

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 13:02:03 PST 2016


qcolombet accepted this revision.
qcolombet added a reviewer: qcolombet.
qcolombet added a comment.
This revision is now accepted and ready to land.

Thanks Wei.

Looks good.

Cheers,
Quentin



================
Comment at: test/Transforms/LoopStrengthReduce/nested-loop.ll:2
+; RUN: opt -loop-reduce -S < %s | FileCheck %s
+; Check when we use an outerloop induction variable inside of an innerloop induction value expr, LSR can still choose to use single induction variable for the innerloop and share it in multiple induction value exprs.
+
----------------
Nitpick: Break the line in multiple lines.


Repository:
  rL LLVM

https://reviews.llvm.org/D26429





More information about the llvm-commits mailing list