1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1-details" } */
6 typedef struct rtx_def *rtx;
11 typedef union rtunion_def rtunion;
21 sss (rtx insn, int code1, int code2, int code3)
24 struct rtx_def * body;
29 body = insn->u.fld[5].rt_rtx;
32 if (D1544 == 55) goto L7; else goto L1;
36 if (code3 == 99) goto L2; else goto L11;
41 if (n_sets > 0) goto L7; else goto L11;
44 if (code2 == 42) goto L8; else goto L9;
51 if (i < n_sets) goto L37; else goto L32;
56 if (n_sets > 1) goto L12; else goto L15;
66 if (n_sets > 0) goto L14; else goto L16;
71 if (n_sets > i) goto L38; else goto L16;
84 /* The n_sets > 0 test can be simplified into n_sets == 1 since the
85 only way to reach the test is when n_sets <= 1, and the only value
86 which satisfies both conditions is n_sets == 1. */
87 /* { dg-final { scan-tree-dump-times "Simplified relational" 1 "vrp1" } } */
88 /* { dg-final { cleanup-tree-dump "vrp1" } } */