llvm-project
llvm-project copied to clipboard
`std.tensor_load` yields incorrect error message in the unranked case
| Bugzilla Link | 46528 |
| Resolution | WORKSFORME |
| Resolved on | Dec 14, 2020 17:47 |
| Version | unspecified |
| OS | All |
| CC | @jpienaar,@River707 |
Extended Description
std.tensor_load yields incorrect error message in the unranked case.
The error message observed is:
error: custom op 'std.tensor_load' 'memref' must be memref of any type values, but got 'memref<*xf32>'
Minimal reproducing example:
%t = tensor_load %mem : memref<*xf32>
$ ./bin/mlir-opt test.mlir module { func @foo(%arg0: memref<*xf32>) { %0 = tensor_load %arg0 : memref<*xf32> return } }
assigned to @joker-eph