LLVM Translation failed for operation: builtin.unrealized_conversion_cast
- Dominant language
- C++
- Stars
- 54
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
The error happened on a single op test
```
module {
func.func @entry(%arg0: tensor<5x6xf32>, %arg1: tensor<6x7xf32>) -> tensor<5x7xf32> attributes {llvm.emit_c_interface} {
%0 = tensor.empty() : tensor<5x7xf32>
%1 = linalg.matmul {cast = #linalg.type_fn} ins(%arg0, %arg1 : tensor<5x6xf32>, tensor<6x7xf32>) outs(%0 : tensor<5x7xf32>) -> tensor<5x7xf32>
return %1 : tensor<5x7xf32>
}
}
```
Most likely `ConvertOpenMPToLLVMPass` introduces the issue here
Before:

After: (check %43)

Final: (before crash, check %7)

Contributor guide
Assessment
This issue has not been assessed yet.