[Mlir-commits] [mlir] [mlir][tosa][linalg] Use `typeConverter->convertType<T>` (NFC) (PR #150578)

Longsheng Mou llvmlistbot at llvm.org
Mon Jul 28 02:13:07 PDT 2025


CoTinker wrote:

> Is this really an NFC if we have gone from a static cast to a dynamic one? If not, could we add a test to exercise this change?

Yeal, you are right. But can't build a test now for that typeConvert not return nullptr.
https://github.com/llvm/llvm-project/blob/d4f9c11e06d5b38e2c110b3e42c0637b52422346/mlir/lib/Dialect/Tosa/Transforms/TosaTypeConverters.cpp#L20-L33

https://github.com/llvm/llvm-project/pull/150578


More information about the Mlir-commits mailing list