https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125927
Bug ID: 125927
Summary: [17 Regression] gcc.target/aarch64/fuse_cmp_csel-1.c
checks are too tight
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Keywords: testsuite-fail
Severity: normal
Priority: P3
Component: testsuite
Assignee: pinskia at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
As mentioned in the reply of
https://gcc.gnu.org/pipermail/gcc-regression/2026-June/083968.html .
The check here is too restrictive.
It is checking for gt but we now produce le. Both are valid.
cmp w0, w1
csel w3, w4, w3, le
add w0, w2, w3
I will make both fuse_cmp_csel.c and fuse_cmp_csel-1.c less restive
when it comes to the le/gt issue.