[Mlir-commits] [mlir] [mlir][arith.constant]Fix element type of the dense attributes in target attributes to be consistent with result type in LLVM::detail::oneToOneRewrite() (PR #149787)
Krzysztof Drewniak
llvmlistbot at llvm.org
Mon Jul 21 15:49:01 PDT 2025
krzysz00 wrote:
1. If the vector::ShapeCast *folder* (not canonicalizer) is hitting this bug, then we need to add guards to the folder to catch this sort of thing
2. The canonicalization patterns shouldn't be mixed in with convert-to-llvm. You should do the lowering from your op to vector.shape_cast and *then* do a convert-to-llvm, IMO.
https://github.com/llvm/llvm-project/pull/149787
More information about the Mlir-commits
mailing list