You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ tools/iree-compile /tmp/fails.mlir --iree-hal-target-backends=llvm-cpu --iree-llvmcpu-target-cpu-features=+avx,+avx2,+fma --iree-llvmcpu-target-cpu=haswell --iree-llvmcpu-stack-allocation-limit=140000 --iree-util-zero-fill-elided-attrs -o /tmp/a.vmfb --iree-flow-enable-data-tiling --iree-llvmcpu-enable-microkernels --mlir-print-op-on-diagnostic=false
/tmp/fails.mlir:26:11: error: 'memref.alloca' op all stack allocations need to be hoisted to the entry block of the function
%52 = linalg.generic {indexing_maps = [#map1, #map14], iterator_types = ["parallel", "parallel", "reduction"]} ins(%38 : tensor<1x8x2048xf32>) outs(%51 : tensor<1x8x1xf32>) {
…iree-org#14408)
The patterns are expected to be used right after distribution. User should call them explicitly, not including them in the pass.
Fixesiree-org#14406
Minimized from #14398 (comment) .
This is with #14349 applied.
Minimized failing testcase:
fails.mlir
.Dropping one more op makes it work:
works.mlir
.Succeeding command line (works.mlir):
Failing command line (fails.mlir):
Diff between works.mlir and fails.mlir:
The text was updated successfully, but these errors were encountered: