summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/test_inputs/codegen/cloog/param-split.c
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/External/isl/test_inputs/codegen/cloog/param-split.c')
-rw-r--r--polly/lib/External/isl/test_inputs/codegen/cloog/param-split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/External/isl/test_inputs/codegen/cloog/param-split.c b/polly/lib/External/isl/test_inputs/codegen/cloog/param-split.c
index e7774d55d1e..a9d97124b52 100644
--- a/polly/lib/External/isl/test_inputs/codegen/cloog/param-split.c
+++ b/polly/lib/External/isl/test_inputs/codegen/cloog/param-split.c
@@ -1,4 +1,4 @@
-for (int c0 = 0; c0 <= (M <= 0 ? 0 : M); c0 += 1) {
+for (int c0 = 0; c0 <= max(0, M); c0 += 1) {
if (M >= c0)
S1(c0);
if (c0 == 0)
OpenPOWER on IntegriCloud