affine.if #set0(%c0) {
affine.for %i0 = 0 to 10 {
affine.store %cf7, %m[%i0] : memref<10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
}
}
affine.for %i1 = 0 to 10 {
%v0 = affine.load %m[%i1] : memref<10xf32>
- // expected-remark@-1 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
}
return
}
// because the first loop with the store dominates the second loop.
affine.for %i0 = 0 to 10 {
affine.store %cst, %0[%i0] : memref<10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
}
affine.for %i1 = 0 to 10 {
%1 = affine.load %0[%i1] : memref<10xf32>
- // expected-remark@-1 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
}
return
}
%c0 = constant 0 : index
%c1 = constant 1.0 : f32
affine.store %c1, %m.a[%c0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
%v0 = affine.load %m.b[%c0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%c1 = constant 1 : index
%c7 = constant 7.0 : f32
affine.store %c7, %m[%c0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
%v0 = affine.load %m[%c1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%c1 = constant 1 : index
%c7 = constant 7.0 : f32
%v0 = affine.load %m[%c1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
affine.store %c7, %m[%c0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%c11 = constant 11 : index
%c7 = constant 7.0 : f32
affine.store %c7, %m[%c11] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
%v0 = affine.load %m[%c11] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%c11 = constant 11 : index
%c7 = constant 7.0 : f32
%v0 = affine.load %m[%c11] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
%v1 = affine.load %m[%c11] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%m = alloc() : memref<100xf32>
%c7 = constant 7.0 : f32
affine.store %c7, %m[%arg0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
%v0 = affine.load %m[%arg0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%m = alloc() : memref<100xf32>
%c7 = constant 7.0 : f32
affine.store %c7, %m[%arg0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
%v0 = affine.load %m[%arg1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%c8 = constant 8.0 : f32
%a0 = affine.apply (d0) -> (d0) (%c1)
affine.store %c8, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
%a1 = affine.apply (d0) -> (d0 + 1) (%c1)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%c11 = constant 11 : index
%a0 = affine.apply (d0) -> (d0 + 1) (%c9)
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
%a1 = affine.apply (d0) -> (d0 - 1) (%c11)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%c7 = constant 7.0 : f32
%a0 = affine.apply (d0) -> (d0) (%arg0)
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
%a1 = affine.apply (d0) -> (d0) (%arg0)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
%c7 = constant 7.0 : f32
%a0 = affine.apply (d0) -> (d0) (%arg0)
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
%a1 = affine.apply (d0) -> (d0 + 1) (%arg0)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
return
}
affine.for %i0 = 0 to 10 {
%a0 = affine.apply (d0) -> (d0) (%i0)
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
%a1 = affine.apply (d0) -> (d0) (%c10)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
affine.for %i0 = 0 to %arg1 {
%a0 = affine.apply (d0) -> (d0) (%arg0)
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = [1, +inf]}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = [1, +inf]}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = [1, +inf]}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [1, +inf]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = true}}
%a1 = affine.apply (d0) -> (d0) (%arg0)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = [1, +inf]}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = [1, +inf]}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
// because only the final write in the loop accesses the same element as the
// load, so this dependence appears only at depth 2 (loop independent).
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = true}}
%a1 = affine.apply (d0) -> (d0 - 1) (%c10)
// For dependence from 1 to 0, we have write-after-read (WAR) dependences
// for all loads in the loop to the store on the last iteration.
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = [1, 9]}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = [1, 9]}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
affine.for %i0 = 1 to 11 {
%a0 = affine.apply (d0) -> (d0) (%i0)
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
%a1 = affine.apply (d0) -> (d0) (%c0)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
// constant index zero are reads after first store at index zero during
// first iteration of the loop.
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = [1, 9]}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [1, 9]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = true}}
%a1 = affine.apply (d0) -> (d0 + 1) (%c0)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
affine.for %i0 = 1 to 11 {
%a0 = affine.apply (d0) -> (d0 + 3) (%i0)
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = [3, 3]}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [3, 3]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
%a1 = affine.apply (d0) -> (d0) (%i0)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
affine.for %i0 = 2 to 11 {
%a0 = affine.apply (d0) -> (d0) (%i0)
affine.store %c7, %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = [2, 2]}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [2, 2]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
%a1 = affine.apply (d0) -> (d0 - 2) (%i0)
%v0 = affine.load %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
%a00 = affine.apply (d0, d1) -> (d0) (%i0, %i1)
%a01 = affine.apply (d0, d1) -> (d1) (%i0, %i1)
affine.store %c7, %m[%a00, %a01] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-5 {{dependence from 0 to 1 at depth 2 = false}}
- // expected-remark@-6 {{dependence from 0 to 1 at depth 3 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 3 = true}}
%a10 = affine.apply (d0, d1) -> (d0) (%i0, %i1)
%a11 = affine.apply (d0, d1) -> (d1) (%i0, %i1)
%v0 = affine.load %m[%a10, %a11] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-5 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-6 {{dependence from 1 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
}
}
return
%a00 = affine.apply (d0, d1) -> (d0) (%i0, %i1)
%a01 = affine.apply (d0, d1) -> (d1) (%i0, %i1)
affine.store %c7, %m[%a00, %a01] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 1 = [2, 2][0, 0]}}
- // expected-remark@-5 {{dependence from 0 to 1 at depth 2 = false}}
- // expected-remark@-6 {{dependence from 0 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [2, 2][0, 0]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 3 = false}}
%a10 = affine.apply (d0, d1) -> (d0 - 2) (%i0, %i1)
%a11 = affine.apply (d0, d1) -> (d1) (%i0, %i1)
%v0 = affine.load %m[%a10, %a11] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-5 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-6 {{dependence from 1 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
}
}
return
%a00 = affine.apply (d0, d1) -> (d0) (%i0, %i1)
%a01 = affine.apply (d0, d1) -> (d1) (%i0, %i1)
affine.store %c7, %m[%a00, %a01] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-5 {{dependence from 0 to 1 at depth 2 = [0, 0][3, 3]}}
- // expected-remark@-6 {{dependence from 0 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = [0, 0][3, 3]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 3 = false}}
%a10 = affine.apply (d0, d1) -> (d0) (%i0, %i1)
%a11 = affine.apply (d0, d1) -> (d1 - 3) (%i0, %i1)
%v0 = affine.load %m[%a10, %a11] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-5 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-6 {{dependence from 1 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
}
}
return
%a00 = affine.apply (d0, d1) -> (d0) (%i0, %i1)
%a01 = affine.apply (d0, d1) -> (d1) (%i0, %i1)
affine.store %c7, %m[%a00, %a01] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-5 {{dependence from 0 to 1 at depth 2 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = true}}
}
affine.for %i2 = 0 to 9 {
%a10 = affine.apply (d0, d1) -> (d0) (%i0, %i2)
%a11 = affine.apply (d0, d1) -> (d1) (%i0, %i2)
%v0 = affine.load %m[%a10, %a11] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-5 {{dependence from 1 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
}
}
return
affine.for %i0 = 0 to 9 {
%a0 = affine.apply (d0) -> (d0) (%i0)
%v0 = affine.load %m.a[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
- // expected-remark@-5 {{dependence from 0 to 2 at depth 1 = false}}
- // expected-remark@-6 {{dependence from 0 to 2 at depth 2 = false}}
- // expected-remark@-7 {{dependence from 0 to 3 at depth 1 = false}}
- // expected-remark@-8 {{dependence from 0 to 3 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 2 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 2 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 3 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 3 at depth 2 = false}}
%a1 = affine.apply (d0) -> (d0) (%i0)
affine.store %v0, %m.b[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-5 {{dependence from 1 to 2 at depth 1 = false}}
- // expected-remark@-6 {{dependence from 1 to 2 at depth 2 = true}}
- // expected-remark@-7 {{dependence from 1 to 3 at depth 1 = false}}
- // expected-remark@-8 {{dependence from 1 to 3 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 2 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 2 at depth 2 = true}}
+ // expected-remark@above {{dependence from 1 to 3 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 3 at depth 2 = false}}
%a2 = affine.apply (d0) -> (d0) (%i0)
%v1 = affine.load %m.b[%a2] : memref<100xf32>
- // expected-remark@-1 {{dependence from 2 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 2 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 2 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 2 to 1 at depth 2 = false}}
- // expected-remark@-5 {{dependence from 2 to 2 at depth 1 = false}}
- // expected-remark@-6 {{dependence from 2 to 2 at depth 2 = false}}
- // expected-remark@-7 {{dependence from 2 to 3 at depth 1 = false}}
- // expected-remark@-8 {{dependence from 2 to 3 at depth 2 = false}}
+ // expected-remark@above {{dependence from 2 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 2 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 2 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 2 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 2 to 2 at depth 1 = false}}
+ // expected-remark@above {{dependence from 2 to 2 at depth 2 = false}}
+ // expected-remark@above {{dependence from 2 to 3 at depth 1 = false}}
+ // expected-remark@above {{dependence from 2 to 3 at depth 2 = false}}
%a3 = affine.apply (d0) -> (d0 + 1) (%i0)
affine.store %v1, %m.a[%a3] : memref<100xf32>
- // expected-remark@-1 {{dependence from 3 to 0 at depth 1 = [1, 1]}}
- // expected-remark@-2 {{dependence from 3 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 3 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 3 to 1 at depth 2 = false}}
- // expected-remark@-5 {{dependence from 3 to 2 at depth 1 = false}}
- // expected-remark@-6 {{dependence from 3 to 2 at depth 2 = false}}
- // expected-remark@-7 {{dependence from 3 to 3 at depth 1 = false}}
- // expected-remark@-8 {{dependence from 3 to 3 at depth 2 = false}}
+ // expected-remark@above {{dependence from 3 to 0 at depth 1 = [1, 1]}}
+ // expected-remark@above {{dependence from 3 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 3 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 3 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 3 to 2 at depth 1 = false}}
+ // expected-remark@above {{dependence from 3 to 2 at depth 2 = false}}
+ // expected-remark@above {{dependence from 3 to 3 at depth 1 = false}}
+ // expected-remark@above {{dependence from 3 to 3 at depth 2 = false}}
}
return
}
%a00 = affine.apply (d0, d1) -> (d0 - 1) (%i0, %i1)
%a01 = affine.apply (d0, d1) -> (d1 + 1) (%i0, %i1)
%v0 = affine.load %m[%a00, %a01] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-5 {{dependence from 0 to 1 at depth 2 = false}}
- // expected-remark@-6 {{dependence from 0 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 3 = false}}
%a10 = affine.apply (d0, d1) -> (d0) (%i0, %i1)
%a11 = affine.apply (d0, d1) -> (d1) (%i0, %i1)
affine.store %c7, %m[%a10, %a11] : memref<10x10xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = [1, 1][-1, -1]}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-5 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-6 {{dependence from 1 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = [1, 1][-1, -1]}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
}
}
return
affine.for %i1 = 0 to 10 {
%a0 = affine.apply (d0) -> (d0 + 1) (%i1)
%v0 = affine.load %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 1 = [1, 9][1, 1]}}
- // expected-remark@-5 {{dependence from 0 to 1 at depth 2 = [0, 0][1, 1]}}
- // expected-remark@-6 {{dependence from 0 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [1, 9][1, 1]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = [0, 0][1, 1]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 3 = false}}
%a1 = affine.apply (d0) -> (d0) (%i1)
affine.store %c7, %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = [1, 9][-1, -1]}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 1 = [1, 9][0, 0]}}
- // expected-remark@-5 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-6 {{dependence from 1 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = [1, 9][-1, -1]}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = [1, 9][0, 0]}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
}
}
return
// Results are conservative here since we currently don't have a way to
// represent strided sets in FlatAffineConstraints.
%v0 = affine.load %m[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = [1, 9]}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [1, 9]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
%a1 = affine.apply (d0) -> ( (d0 + 1) mod 2) (%i0)
affine.store %c7, %m[%a1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = [1, 9]}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = [2, 9]}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = [1, 9]}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = [2, 9]}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
affine.for %i0 = 0 to 128 {
affine.for %i1 = 0 to 8 {
affine.store %c7, %0[%i0, %i1] : memref<100x100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 1 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
}
}
affine.for %i2 = 0 to 8 {
affine.for %i5 = 0 to 16 {
%8 = affine.apply (d0, d1) -> (d0 * 16 + d1)(%i4, %i5)
%9 = affine.load %0[%8, %i3] : memref<100x100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 3 = false}}
- // expected-remark@-5 {{dependence from 1 to 1 at depth 4 = false}}
- // expected-remark@-6 {{dependence from 1 to 1 at depth 5 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 4 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 5 = false}}
}
}
}
%idx1 = affine.apply (d0, d1, d2) -> (d1 mod 2) (%i0, %i1, %i2)
%idx2 = affine.apply (d0, d1, d2) -> (d2 floordiv 4) (%i0, %i1, %i2)
affine.store %c0, %M[%idx0, %idx1, %idx2] : memref<2 x 2 x 2 x i32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = [1, 3][-7, 7][-3, 3]}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = [0, 0][2, 7][-3, 3]}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = [0, 0][0, 0][1, 3]}}
- // expected-remark@-4 {{dependence from 0 to 0 at depth 4 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = [1, 3][-7, 7][-3, 3]}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = [0, 0][2, 7][-3, 3]}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = [0, 0][0, 0][1, 3]}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 4 = false}}
}
}
}
affine.for %i4 = 0 to 16 {
affine.for %i5 = 0 to 1 {
affine.store %val, %in[%i0, %i1, %i2, %i3, %i4, %i5] : memref<2x2x3x3x16x1xi32>
-// expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
-// expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
-// expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
-// expected-remark@-4 {{dependence from 0 to 0 at depth 4 = false}}
-// expected-remark@-5 {{dependence from 0 to 0 at depth 5 = false}}
-// expected-remark@-6 {{dependence from 0 to 0 at depth 6 = false}}
-// expected-remark@-7 {{dependence from 0 to 0 at depth 7 = false}}
-// expected-remark@-8 {{dependence from 0 to 1 at depth 1 = true}}
-// expected-remark@-9 {{dependence from 0 to 2 at depth 1 = false}}
+// expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+// expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+// expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+// expected-remark@above {{dependence from 0 to 0 at depth 4 = false}}
+// expected-remark@above {{dependence from 0 to 0 at depth 5 = false}}
+// expected-remark@above {{dependence from 0 to 0 at depth 6 = false}}
+// expected-remark@above {{dependence from 0 to 0 at depth 7 = false}}
+// expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
+// expected-remark@above {{dependence from 0 to 2 at depth 1 = false}}
}
}
}
((((((d0 mod 294912) mod 147456) mod 1152) mod 384) mod 128)
floordiv 128) (%a0)
%v0 = affine.load %in[%a10, %a11, %a13, %a14, %a12, %a15] : memref<2x2x3x3x16x1xi32>
-// expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
-// expected-remark@-2 {{dependence from 1 to 1 at depth 1 = false}}
-// expected-remark@-3 {{dependence from 1 to 1 at depth 2 = false}}
-// expected-remark@-4 {{dependence from 1 to 1 at depth 3 = false}}
-// expected-remark@-5 {{dependence from 1 to 2 at depth 1 = false}}
-// expected-remark@-6 {{dependence from 1 to 2 at depth 2 = false}}
-// expected-remark@-7 {{dependence from 1 to 2 at depth 3 = false}}
+// expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+// expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+// expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+// expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
+// expected-remark@above {{dependence from 1 to 2 at depth 1 = false}}
+// expected-remark@above {{dependence from 1 to 2 at depth 2 = false}}
+// expected-remark@above {{dependence from 1 to 2 at depth 3 = false}}
// TODO(andydavis): the dep tester shouldn't be printing out these messages
// below; they are redundant.
affine.store %v0, %out[%ii, %jj] : memref<64x9xi32>
-// expected-remark@-1 {{dependence from 2 to 0 at depth 1 = false}}
-// expected-remark@-2 {{dependence from 2 to 1 at depth 1 = false}}
-// expected-remark@-3 {{dependence from 2 to 1 at depth 2 = false}}
-// expected-remark@-4 {{dependence from 2 to 1 at depth 3 = false}}
-// expected-remark@-5 {{dependence from 2 to 2 at depth 1 = false}}
-// expected-remark@-6 {{dependence from 2 to 2 at depth 2 = false}}
-// expected-remark@-7 {{dependence from 2 to 2 at depth 3 = false}}
+// expected-remark@above {{dependence from 2 to 0 at depth 1 = false}}
+// expected-remark@above {{dependence from 2 to 1 at depth 1 = false}}
+// expected-remark@above {{dependence from 2 to 1 at depth 2 = false}}
+// expected-remark@above {{dependence from 2 to 1 at depth 3 = false}}
+// expected-remark@above {{dependence from 2 to 2 at depth 1 = false}}
+// expected-remark@above {{dependence from 2 to 2 at depth 2 = false}}
+// expected-remark@above {{dependence from 2 to 2 at depth 3 = false}}
}
}
return
%cf0 = constant 0.0 : f32
affine.for %i0 = 0 to 8 step 2 {
affine.store %cf0, %0[%i0] : memref<10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = true}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = true}}
%v0 = affine.load %0[%i0] : memref<10xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
affine.for %i0 = 0 to 8 step 2 {
%a0 = affine.apply (d0) -> (d0 + 1)(%i0)
affine.store %cf0, %0[%a0] : memref<10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
%v0 = affine.load %0[%i0] : memref<10xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
affine.for %i0 = 0 to 8 step 2 {
%a0 = affine.apply (d0) -> (d0 + 4)(%i0)
affine.store %cf0, %0[%a0] : memref<10xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = [4, 4]}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [4, 4]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
%v0 = affine.load %0[%i0] : memref<10xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
}
affine.for %i0 = 0 to 10 {
%a0 = affine.apply (d0) -> (d0 - 1)(%i0)
affine.store %cst, %0[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
affine.for %i1 = (d0) -> (d0)(%i0) to (d0) -> (d0 + 1)(%i0) {
%1 = affine.load %0[%i1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = [1, 1]}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
- // expected-remark@-5 {{dependence from 1 to 1 at depth 3 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = [1, 1]}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 3 = false}}
}
}
return
affine.for %i0 = 0 to 10 {
affine.for %i1 = (d0) -> (d0)(%i0) to (d0) -> (d0 + 1)(%i0) {
affine.store %cst, %0[%i1] : memref<100xf32>
- // expected-remark@-1 {{dependence from 0 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 0 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 0 to 0 at depth 3 = false}}
- // expected-remark@-4 {{dependence from 0 to 1 at depth 1 = [2, 2]}}
- // expected-remark@-5 {{dependence from 0 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 0 to 0 at depth 3 = false}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 1 = [2, 2]}}
+ // expected-remark@above {{dependence from 0 to 1 at depth 2 = false}}
}
%a0 = affine.apply (d0) -> (d0 - 2)(%i0)
%1 = affine.load %0[%a0] : memref<100xf32>
- // expected-remark@-1 {{dependence from 1 to 0 at depth 1 = false}}
- // expected-remark@-2 {{dependence from 1 to 0 at depth 2 = false}}
- // expected-remark@-3 {{dependence from 1 to 1 at depth 1 = false}}
- // expected-remark@-4 {{dependence from 1 to 1 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 0 at depth 2 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
+ // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
}
return
-}
\ No newline at end of file
+}