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

Ivan Butygin llvmlistbot at llvm.org
Tue Feb 11 07:25:42 PST 2025


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

While `PatternBenefit` will probably work in this specific case, I still think there is a potential problem in `vectorOneToOneRewrite` as it can generate llvm bitcasts for unsupported types like structs.

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


More information about the Mlir-commits mailing list