Closed newling closed 1 day ago
Inlining some offline discussion for visibility:
You're missing target cpu features. However, it should still be compiled. I think there is a bug in CPU backend, which picks x86 config for default. We should be able to fix that, it will be very slow though.
I'll get back to it.
What happened?
I expect
iree-compile --iree-hal-target-backends=llvm-cpu my_func.mlir
to compile basically any valid IR, so I was quite surprised that a basic matmul (int 128x128x128) failed to compile. I think the constraint is over-restrictive, is there maybe some kind of tiling pass which is needed?Compile the following IR (matmul_int32.mlir)
with
And observe
Error message introduced in https://github.com/iree-org/iree/pull/17620 (@hanhanW)
Steps to reproduce your issue
See above
What component(s) does this issue relate to?
Compiler
Version information
After June 12 2024.
Additional context
No response