ignore VOID when trying to if-convert phi-nodes
[smatch.git] / validation / optim / cse-dual-compare.c
blobb43cf78992f00d42cebb7935bee0d612a440a9c1
1 static int eqeq(int a, int b) { return (a == b) == (b == a); }
2 static int nene(int a, int b) { return (a != b) == (b != a); }
4 static int ltgt(int a, int b) { return (a < b) == (b > a); }
5 static int lege(int a, int b) { return (a <= b) == (b >= a); }
6 static int gele(int a, int b) { return (a >= b) == (b <= a); }
7 static int gtlt(int a, int b) { return (a > b) == (b < a); }
9 static int eneqne(int a, int b) { return (a == b) == !(b != a); }
10 static int enneeq(int a, int b) { return (a != b) == !(b == a); }
12 static int enltle(int a, int b) { return (a < b) == !(b <= a); }
13 static int enlelt(int a, int b) { return (a <= b) == !(b < a); }
14 static int engegt(int a, int b) { return (a >= b) == !(b > a); }
15 static int engtge(int a, int b) { return (a > b) == !(b >= a); }
17 static int neeqne(int a, int b) { return (a == b) != (b != a); }
18 static int neneeq(int a, int b) { return (a != b) != (b == a); }
20 static int neltle(int a, int b) { return (a < b) != (b <= a); }
21 static int nelelt(int a, int b) { return (a <= b) != (b < a); }
22 static int negegt(int a, int b) { return (a >= b) != (b > a); }
23 static int negtge(int a, int b) { return (a > b) != (b >= a); }
26 * check-name: cse-dual-compare
27 * check-command: test-linearize $file
28 * check-output-ignore
29 * check-known-to-fail
31 * check-output-excludes: set[gl][et]\\.
32 * check-output-excludes: seteq\\.
33 * check-output-excludes: setne\\.