You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
406 B
16 lines
406 B
// RUN: mlir-opt %s -affine-loop-tile="tile-size=32" -split-input-file -verify-diagnostics
|
|
|
|
// -----
|
|
|
|
#ub = affine_map<(d0)[s0] -> (d0, s0)>
|
|
func @non_hyperrect_loop() {
|
|
%N = constant 128 : index
|
|
// expected-error@+1 {{tiled code generation unimplemented for the non-hyperrectangular case}}
|
|
affine.for %i = 0 to %N {
|
|
affine.for %j = 0 to min #ub(%i)[%N] {
|
|
affine.yield
|
|
}
|
|
}
|
|
return
|
|
}
|