Files
clang-p2996/polly/test/Isl/CodeGen/MemAccess/update_access_functions___%loop1---%exit.jscop
Tobias Grosser 903eefd1f2 tests: fix order of memory accesses to ensure import succeeds
It seems the order in which we generated memory accesses changed such that
the import of these updated memory accesses failed for the 'loop3' statement
in this test case. Unfortunately, the existing CHECK lines were not strict
enough to catch this. Hence, besides fixing the order of the memory access
lines we also ensure that the memory access changes are both clearly visibly
and well checked.

llvm-svn: 276247
2016-07-21 07:12:17 +00:00

48 lines
1.5 KiB
Plaintext

{
"context" : "[arg] -> { : -9223372036854775808 <= arg <= 9223372036854775807 }",
"name" : "%loop1---%exit",
"statements" : [
{
"accesses" : [
{
"kind" : "write",
"relation" : "[arg] -> { Stmt_loop1[i0] -> MemRef_A[1 + i0] }"
}
],
"domain" : "[arg] -> { Stmt_loop1[i0] : 0 <= i0 <= -2 + arg }",
"name" : "Stmt_loop1",
"schedule" : "[arg] -> { Stmt_loop1[i0] -> [0, i0] }"
},
{
"accesses" : [
{
"kind" : "read",
"relation" : "[arg] -> { Stmt_loop2[i0] -> MemRef_A[1 + i0] }"
},
{
"kind" : "write",
"relation" : "[arg] -> { Stmt_loop2[i0] -> MemRef_val[] }"
}
],
"domain" : "[arg] -> { Stmt_loop2[i0] : 0 <= i0 <= -2 + arg }",
"name" : "Stmt_loop2",
"schedule" : "[arg] -> { Stmt_loop2[i0] -> [1, i0] }"
},
{
"accesses" : [
{
"kind" : "write",
"relation" : "[arg] -> { Stmt_loop3[i0] -> MemRef_A[1 + i0] }"
},
{
"kind" : "read",
"relation" : "[arg] -> { Stmt_loop3[i0] -> MemRef_val[] }"
}
],
"domain" : "[arg] -> { Stmt_loop3[i0] : 0 <= i0 <= -2 + arg }",
"name" : "Stmt_loop3",
"schedule" : "[arg] -> { Stmt_loop3[i0] -> [2, i0] }"
}
]
}