projects
/
platform
/
upstream
/
isl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
isl_ast_expr_from_aff: try harder to use isl_ast_op_pdiv_{q,r}
[platform/upstream/isl.git]
/
test_inputs
/
codegen
/
omega
/
hpf-0.c
diff --git
a/test_inputs/codegen/omega/hpf-0.c
b/test_inputs/codegen/omega/hpf-0.c
index
2756b45
..
8b52b22
100644
(file)
--- a/
test_inputs/codegen/omega/hpf-0.c
+++ b/
test_inputs/codegen/omega/hpf-0.c
@@
-1,4
+1,4
@@
if (P1 == P2 && P2 <= 3 && P2 >= 0)
for (int c0 = 0; c0 <= min(2, -P2 + 4); c0 += 1)
- for (int c2 = -
P2 - c0 - 3 * floord(-P2 - c0, 3)
; c2 <= 3; c2 += 3)
+ for (int c2 = -
((P2 + c0 + 2) % 3) + 2
; c2 <= 3; c2 += 3)
s0(c0, c0, c2, c2);