[polly] r218043 - Updated to isl 2c19ecd444095d6f560349018f68993bc0e03691

Johannes Doerfert doerfert at cs.uni-saarland.de
Thu Sep 18 04:13:35 PDT 2014


Author: jdoerfert
Date: Thu Sep 18 06:13:35 2014
New Revision: 218043

URL: http://llvm.org/viewvc/llvm-project?rev=218043&view=rev
Log:
Updated to isl 2c19ecd444095d6f560349018f68993bc0e03691

  Changed test cases and fixed warnings.

Modified:
    polly/trunk/lib/CodeGen/IslExprBuilder.cpp
    polly/trunk/test/Isl/Ast/dependence_distance_parametric.ll
    polly/trunk/test/Isl/Ast/dependence_distance_parametric_expr.ll
    polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll
    polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll
    polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll
    polly/trunk/test/Isl/Ast/simple-run-time-condition.ll
    polly/trunk/utils/checkout_cloog.sh

Modified: polly/trunk/lib/CodeGen/IslExprBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslExprBuilder.cpp?rev=218043&r1=218042&r2=218043&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslExprBuilder.cpp (original)
+++ polly/trunk/lib/CodeGen/IslExprBuilder.cpp Thu Sep 18 06:13:35 2014
@@ -352,6 +352,7 @@ Value *IslExprBuilder::createOp(__isl_ta
   case isl_ast_op_or_else:
   case isl_ast_op_call:
   case isl_ast_op_member:
+  case isl_ast_op_address_of:
     llvm_unreachable("Unsupported isl ast expression");
   case isl_ast_op_access:
     return createOpAccess(Expr);

Modified: polly/trunk/test/Isl/Ast/dependence_distance_parametric.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/Ast/dependence_distance_parametric.ll?rev=218043&r1=218042&r2=218043&view=diff
==============================================================================
--- polly/trunk/test/Isl/Ast/dependence_distance_parametric.ll (original)
+++ polly/trunk/test/Isl/Ast/dependence_distance_parametric.ll Thu Sep 18 06:13:35 2014
@@ -3,7 +3,7 @@
 ;        void f(int *A, int N, int c) {
 ; CHECK:   #pragma minimal dependence distance: 1
 ;          for (int j = 0; j < N; j++)
-; CHECK:     #pragma minimal dependence distance: (-1 + c >= 0) ? (c) : -c
+; CHECK:     #pragma minimal dependence distance: c >= 1 ? c : -c
 ;            for (int i = 0; i < N; i++)
 ;              A[i + c] = A[i] + 1;
 ;        }

Modified: polly/trunk/test/Isl/Ast/dependence_distance_parametric_expr.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/Ast/dependence_distance_parametric_expr.ll?rev=218043&r1=218042&r2=218043&view=diff
==============================================================================
--- polly/trunk/test/Isl/Ast/dependence_distance_parametric_expr.ll (original)
+++ polly/trunk/test/Isl/Ast/dependence_distance_parametric_expr.ll Thu Sep 18 06:13:35 2014
@@ -3,7 +3,7 @@
 ;        void f(int *A, int N, int c, int v) {
 ; CHECK:   #pragma minimal dependence distance: 1
 ;          for (int j = 0; j < N; j++)
-; CHECK:     #pragma minimal dependence distance: (-1 + c + v >= 0) ? (c + v) : -c - v
+; CHECK:     #pragma minimal dependence distance: c + v >= 1 ? c + v : -c - v
 ;            for (int i = 0; i < N; i++)
 ;              A[i + c + v] = A[i] + 1;
 ;        }

Modified: polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll?rev=218043&r1=218042&r2=218043&view=diff
==============================================================================
--- polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll (original)
+++ polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll Thu Sep 18 06:13:35 2014
@@ -2,7 +2,7 @@
 ;
 ;        void f(int *restrict A, int *restrict B, int *restrict C, int *restrict D,
 ;               int *restrict E, int N) {
-; CHECK:   #pragma minimal dependence distance: (-35 + N >= 0) ? (1) : (-17 + N >= 0 && 34 - N >= 0) ? (2) : 5
+; CHECK:   #pragma minimal dependence distance: N >= 35 ? 1 : N >= 17 && N <= 34 ? 2 : 5
 ;          for (int i = 0; i < N; i++) {
 ;            A[i] = A[100 - 2 * i] + 1;
 ;            B[i] = B[100 - 3 * i] + 1;

Modified: polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll?rev=218043&r1=218042&r2=218043&view=diff
==============================================================================
--- polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll (original)
+++ polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll Thu Sep 18 06:13:35 2014
@@ -8,7 +8,7 @@
 ; CHECK:          for (int c3 = 0; c3 <= 1023; c3 += 1)
 ; CHECK:            Stmt_for_body3(c1, c3);
 ; CHECK:      } else
-; CHECK:        for (int c1 = 0; c1 < 2 * n - 1; c1 += 2)
+; CHECK:        for (int c1 = 0; c1 < 2 * n; c1 += 2)
 ; CHECK:          #pragma simd reduction
 ; CHECK:          for (int c3 = 0; c3 <= 1023; c3 += 1)
 ; CHECK:            Stmt_for_body3(c1, c3);

Modified: polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll?rev=218043&r1=218042&r2=218043&view=diff
==============================================================================
--- polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll (original)
+++ polly/trunk/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll Thu Sep 18 06:13:35 2014
@@ -6,10 +6,10 @@
 ; CHECK:    #pragma omp parallel for
 ; CHECK:    for (int c1 = 0; c1 < 2 * n; c1 += 1)
 ; CHECK:      #pragma simd reduction
-; CHECK:      for (int c3 = -1022; c3 <= 1023; c3 += 1) {
-; CHECK:        if ((c3 + 1022) % 2 == 0 && c3 <= 0) {
+; CHECK:      for (int c3 = -1023; c3 <= 1023; c3 += 1) {
+; CHECK:        if (c3 <= 0 && -c3 % 2 == 0) {
 ; CHECK:          Stmt_for_body3(c1, -c3);
-; CHECK:        } else if ((c3 + 1023) % 2 == 0 && c3 >= 1)
+; CHECK:        } else if (c3 >= 1 && (c3 - 1) % 2 == 0)
 ; CHECK:          Stmt_for_body3(c1, c3);
 ; CHECK:      }
 ;

Modified: polly/trunk/test/Isl/Ast/simple-run-time-condition.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/Ast/simple-run-time-condition.ll?rev=218043&r1=218042&r2=218043&view=diff
==============================================================================
--- polly/trunk/test/Isl/Ast/simple-run-time-condition.ll (original)
+++ polly/trunk/test/Isl/Ast/simple-run-time-condition.ll Thu Sep 18 06:13:35 2014
@@ -18,7 +18,11 @@ target triple = "x86_64-unknown-linux-gn
 ; for the delinearization is simplified such that conditions that would not
 ; cause any code to be executed are not generated.
 
-; CHECK: if ((q == 100 && o <= 0) || (q == 0 && o >= 1) ? 1 : 0)
+; CHECK: if (
+; CHECK: ({{(q == 100 && o <= 0|o <= 0 && q == 100)}})
+; CHECK: ||
+; CHECK: ({{(q == 0 && o >= 1)|(o >= 1 && q == 0)}})
+; CHECK: ? 1 : 0)
 
 ; CHECK:     if (o >= 1) {
 ; CHECK:       for (int c1 = 0; c1 < n; c1 += 1)

Modified: polly/trunk/utils/checkout_cloog.sh
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/utils/checkout_cloog.sh?rev=218043&r1=218042&r2=218043&view=diff
==============================================================================
--- polly/trunk/utils/checkout_cloog.sh (original)
+++ polly/trunk/utils/checkout_cloog.sh Thu Sep 18 06:13:35 2014
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 CLOOG_HASH="22643c94eba7b010ae4401c347289f4f52b9cd2b"
-ISL_HASH="163646566efd07086ed4fbe99ecbf8d5bb8ebca0"
+ISL_HASH="2c19ecd444095d6f560349018f68993bc0e03691"
 
 PWD=`pwd`
 





More information about the llvm-commits mailing list