diff options
author | Longsheng Mou <longshengmou@gmail.com> | 2025-07-23 11:37:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-23 11:37:22 +0800 |
commit | 8937b61f21fcd60ab1b19db6e755053364584d18 (patch) | |
tree | 5f64d70a5986bf4156396f24798e620522528d36 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 01b47eb86c991f88d3117f494ebd1826fd3ab41e (diff) | |
download | llvm-8937b61f21fcd60ab1b19db6e755053364584d18.zip llvm-8937b61f21fcd60ab1b19db6e755053364584d18.tar.gz llvm-8937b61f21fcd60ab1b19db6e755053364584d18.tar.bz2 |
[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.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions