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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
x86_64 works on this combine:
```
Trying 10, 8 -> 11:
   10: r106:QI=flags:CCGC>0
      REG_DEAD flags:CCGC
    8: r104:QI=flags:CCGC<0
   11: flags:CC=cmp(r104:QI,r106:QI)
      REG_DEAD r106:QI
      REG_DEAD r104:QI
Failed to match this instruction:
(set (reg:CC 17 flags)
    (compare:CC (gt:QI (reg:CCGC 17 flags)
            (const_int 0 [0]))
        (lt:QI (reg:CCGC 17 flags)
            (const_int 0 [0]))))
Successfully matched this instruction:
(set (reg:QI 106 [ _2 ])
    (lt:QI (reg:CCGC 17 flags)
        (const_int 0 [0])))
Failed to match this instruction:
(set (reg:CC 17 flags)
    (compare:CC (gt:QI (reg:CCGC 17 flags)
            (const_int 0 [0]))
        (reg:QI 106 [ _2 ])))
```

Reply via email to