https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117186
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-10-17
Ever confirmed|0 |1
Component|target |rtl-optimization
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
Trying 14, 13 -> 15:
14: r105:SI=cc:CC>0
REG_DEAD cc:CC
13: r104:SI=cc:CC<0
15: cc:CC=cmp(r104:SI,r105:SI)
REG_DEAD r105:SI
REG_DEAD r104:SI
Failed to match this instruction:
(set (reg:CC 66 cc)
(reg:CC 66 cc))
Successfully matched this instruction:
(set (reg:SI 106)
(gtu:SI (reg:CC 66 cc)
(const_int 0 [0])))
allowing combination of insns 13, 14 and 15
original costs 4 + 4 + 4 = 16
replacement cost 8
deferring deletion of insn with uid = 14.
deferring deletion of insn with uid = 13.
modifying other_insn 16: r106:SI=gtu(cc:CC,0)
REG_DEAD cc:CC
deferring rescan insn with uid = 16.
modifying insn i3 15: cc:CC=cc:CC
deferring rescan insn with uid = 15.
```