[PATCH] D30350: [LSR] Add a cap for reassociation of AllFixupsOutsideLoop type LSRUse to protect compile time

Wei Mi via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 26 17:33:38 PDT 2017


On Sat, Mar 25, 2017 at 10:36 PM, Sanjoy Das via Phabricator
<reviews at reviews.llvm.org> wrote:
> sanjoy added a comment.
>
> Hi Wei,
>
> If this indeed is a problem with `ScalarEvolution::getZeroExtendExpr` then you should be able to write a `.ll` file that triggers the exponential behavior on `-analyze -scalar-evolution`.  Do you mind giving writing such a test case (as a first step) a shot?

Sanjoy, good suggestion. I will write such a testcase.

Wei.

>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D30350
>
>
>


More information about the llvm-commits mailing list