On 3/19/19 11:54 AM, Jakub Jelinek wrote:
> Hi!
>
> On the testcase in the PR we ICE because we create non-canonical CONST_INTs
> (e.g. for HImode niter 0xfffe) and the compare_and_jump_seq code then ICEs
> on that.
>
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
>
> Testcase not included, because it creates 480000 basic blocks and we handle
> that with O(n^2) complexity.
>
> 2019-03-19 Jakub Jelinek <ja...@redhat.com>
>
> PR rtl-optimization/89768
> * loop-unroll.c (unroll_loop_constant_iterations): Use gen_int_mode
> instead of GEN_INT.
> (unroll_loop_runtime_iterations): Likewise.
OK
jeff