blob: 528ba1a878d27466863836348f2e54077cdfdfcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-rtl-ce1" } */
/* { dg-final { scan-rtl-dump "noce_try_store_flag_constants" "ce1" } } */
/* The inner branch should be detected by ifcvt then be converted to a setcc
with a plus by noce_try_store_flag_constants. */
int test (unsigned int a, unsigned int b)
{
return (a < b ? 0 : (a > b ? 2 : 1));
}
|