repo.or.cz
/
isl.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
3ca6d22
)
add test cases for parsing multiplication involving negative numbers
author
Sven Verdoolaege
<sven@cerebras.net>
Wed, 3 Aug 2022 12:19:44 +0000
(3 14:19 +0200)
committer
Sven Verdoolaege
<sven@cerebras.net>
Fri, 23 Dec 2022 11:36:43 +0000
(23 12:36 +0100)
These ensure that the next commit does not break this parsing.
Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
isl_test.c
patch
|
blob
|
blame
|
history
diff --git
a/isl_test.c
b/isl_test.c
index
a60868d
..
9e0b901
100644
(file)
--- a/
isl_test.c
+++ b/
isl_test.c
@@
-444,6
+444,10
@@
struct {
"{ [x, floor(x/4)] }" },
{ "{ [10//4] }",
"{ [2] }" },
+ { "{ [2*-2] }",
+ "{ [-4] }" },
+ { "{ [i,i*-2] }",
+ "{ [i,-2i] }" },
{ "[a, b, c, d] -> { [max(a,b,c,d)] }",
"[a, b, c, d] -> { [a] : b < a and c < a and d < a; "
"[b] : b >= a and c < b and d < b; "