https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121866

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|GCC unable to eliminate     |GCC unable to eliminate
                   |loop guard in some cases    |loop guard in some cases
                   |                            |for riscv32

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This comes down to different IV selection in ivopts, for aarch64 both loops
produce:
```
.L3:
        ldr     w2, [x1], 4
        add     w0, w0, w2
        cmp     x1, x3
        bne     .L3
```

For an example.

Reply via email to