Issue |
152012
|
Summary |
[mlir][spirv] ARM Tensor constants fail to validate
|
Labels |
bug,
mlir:spirv
|
Assignees |
|
Reporter |
kuhar
|
The test `llvm-project/mlir/test/Target/SPIRV/constant.mlir` fails to validate with spirv-val:
```
/home/jakub/llvm/build/bin/mlir-translate --no-implicit-module --serialize-spirv /home/jakub/llvm/llvm-project/mlir/test/Target/SPIRV/constant.mlir | /home/jakub/llvm/build/./bin/spirv-v
al
# executed command: /home/jakub/llvm/build/bin/mlir-translate --no-implicit-module --serialize-spirv /home/jakub/llvm/llvm-project/mlir/test/Target/SPIRV/constant.mlir
# executed command: /home/jakub/llvm/build/./bin/spirv-val
# .---command stderr------------
# | error: line 191: OpConstantComposite Constituent count does not match the shape of Result Type <id> '226[%226]' along its outermost dimension, expected 2 but got 6.
# | %231 = OpConstantComposite %226 %uint_2 %uint_2 %uint_2 %uint_2 %uint_2 %uint_2
# |
# `-----------------------------
# error: command failed with exit status: 1
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs