update isl for change in coalescing
[ppn.git] / tests / eqv.cc
blob8a23f1c2f0152d490669b5232cd4f39f310023a7
1 #include <assert.h>
2 #include <stdlib.h>
3 #include "testlib.h"
5 struct eqv_test {
6 const char *test;
7 const char *options;
8 const char *output;
9 } test[] = {
10 { "commutative", "", "output" },
11 { "commutative", "-c +", "output.comm" },
12 { "non-uniform", "", "output" },
13 { "recursive", "", "output" },
14 { "shashi_cc2005", "-a + -c +", "output" },
15 { "tiling", "", "output" },
16 { "nul_lcpc", "", "output" },
17 { "contraction", "", "output" },
18 { "div", "", "output" },
19 { "data_dependent", "", "output" },
20 { "data_dependent2", "", "output" },
21 { "data_dependent3", "", "output" },
22 { "max", "", "output" },
23 { "thomasset", "", "output" },
25 #define N_TEST ((sizeof test)/(sizeof *test))
27 int main(int argc, char *argv[])
29 for (int i = 0; i < N_TEST; ++i) {
30 printf("%s\n", test[i].test);
31 check_eqv(test[i].test, test[i].options, test[i].output);