[Bug rtl-optimization/118598] [12/13/14/15 Regression] Shrink-wrapping multiple conditions
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 9 18:37:45 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118598
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jeffrey A. Law from comment #2)
> It looks like it shrink-wraps to me. The frame setup happens after the a ==
> 42 early exit. Where you expecting something else?
There should be a shrink wrap around the second if too. Like it does on both
aarch64 and x86_64.
aarch64:
```
foo:
.LFB0:
.cfi_startproc
cmp w0, 42
beq .L9
cmp w0, 0
ble .L9
```
More information about the Gcc-bugs
mailing list