commit | 9b395ba4fc0a2fba399420de1377b8cc38398c33 | [log] [tgz] |
---|---|---|
author | Longsheng Mou <longshengmou@gmail.com> | Wed Jul 23 11:37:22 2025 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jul 22 20:41:24 2025 -0700 |
tree | e8db0f0b68ebdf8daa279e429d6276a8af390e60 | |
parent | ac758d5aa66904f8a3a983c9e0969c5591a6ae97 [diff] |
[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. GitOrigin-RevId: 8937b61f21fcd60ab1b19db6e755053364584d18
See https://mlir.llvm.org/ for more information.