[Mlir-commits] [mlir] [mlir][NFC] Use `getDefiningOp<OpTy>()` instead of `dyn_cast<OpTy>(getDefiningOp())` (PR #150428)

Jakub Kuderski llvmlistbot at llvm.org
Thu Jul 24 07:33:21 PDT 2025


kuhar wrote:

BTW, we could do a similar cleanup for `dyn_cast<T>(typeConverter->convertType(foo))` --> `typeConverter->convertType<T>(foo)`

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


More information about the Mlir-commits mailing list