diff options
author | Matthias Springer <me@m-sp.org> | 2025-01-12 15:17:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-12 15:17:12 +0100 |
commit | 6422546e996c769dda39a681da090fe28870a376 (patch) | |
tree | ac9c9358352a21302aa17161618bf34327120def /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 753295835544f16b4e180576aa020680231c4318 (diff) | |
download | llvm-6422546e996c769dda39a681da090fe28870a376.zip llvm-6422546e996c769dda39a681da090fe28870a376.tar.gz llvm-6422546e996c769dda39a681da090fe28870a376.tar.bz2 |
[mlir][LLVM] Fix conversion of non-standard MLIR float types (#122634)
Certain non-standard float types were directly passed through in the
LLVM type converter, resulting in invalid IR or failed assertions:
```
mlir-opt: mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp:638: FailureOr<Type> mlir::LLVMTypeConverter::convertVectorType(VectorType) const: Assertion `LLVM::isCompatibleVectorType(vectorType) && "expected vector type compatible with the LLVM dialect"' failed.
```
The LLVM type converter should not define invalid type conversion rules
for such types. If there is no type conversion rule, conversion patterns
will not apply to ops with such operand types.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions