[Mlir-commits] [mlir] [mlir] ArithToLLVM: fix memref bitcast lowering (PR #125148)

Matthias Springer llvmlistbot at llvm.org
Fri Jan 31 01:11:29 PST 2025


================
@@ -103,6 +103,11 @@ LogicalResult LLVM::detail::handleMultidimensionalVectors(
   return success();
 }
 
+static bool isVectorCompatibleType(Type type) {
----------------
matthias-springer wrote:

Can just `LLVM::isCompatibleType` be used here? It already checks for `LLVMArrayType`, `VectorType`, etc. Alternatively, there is also `LLVM::isCompatibleVectorType`, which may be useful here.


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


More information about the Mlir-commits mailing list