blob: 03f9866813dacdc641853954136f5765494c2a2f [file] [log] [blame]
// 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 = arith.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
}