[all-commits] [llvm/llvm-project] 8937b6: [mlir][vector] Fix cast incompatible type bug in `...
Longsheng Mou via All-commits
all-commits at lists.llvm.org
Tue Jul 22 20:37:44 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8937b61f21fcd60ab1b19db6e755053364584d18
https://github.com/llvm/llvm-project/commit/8937b61f21fcd60ab1b19db6e755053364584d18
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][vector] Fix cast incompatible type bug in `ShuffleOp::fold` (#150037)
This PR uses `dyn_cast` instead of `cast` to avoid a crash when the
constant attribute is not a `DenseElementsAttr`. Fixes #149325.
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