[all-commits] [llvm/llvm-project] f1ca88: [mlir][tosa] Use `typeConverter->convertType<T>` (...
Longsheng Mou via All-commits
all-commits at lists.llvm.org
Mon Aug 4 02:28:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f1ca88cebf84365368be06db89f1ab55f47f903b
https://github.com/llvm/llvm-project/commit/f1ca88cebf84365368be06db89f1ab55f47f903b
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2025-08-04 (Mon, 04 Aug 2025)
Changed paths:
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
Log Message:
-----------
[mlir][tosa] Use `typeConverter->convertType<T>` (#150578)
Since `resultTy` might be nullptr, we should use `dyn_cast` instead of
`cast`. Additionally, `typeConverter->convertType<T>` is more
appropriate in this context.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list