diff options
author | James Newling <james.newling@gmail.com> | 2025-05-01 10:18:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-01 10:18:33 -0700 |
commit | 5718460b22400e71e1832be489c9090f2c7d3ebb (patch) | |
tree | e0454f5a33c7c3495162c907962f76f898ed1095 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | 526ae7ffb5317ebdfab3564c2c5811d1d08259b1 (diff) | |
download | llvm-5718460b22400e71e1832be489c9090f2c7d3ebb.zip llvm-5718460b22400e71e1832be489c9090f2c7d3ebb.tar.gz llvm-5718460b22400e71e1832be489c9090f2c7d3ebb.tar.bz2 |
[mlir][vector] Relax constraints on shape_cast (#136587)
`vector.shape_cast` was initially designed to be the union of
collapse_shape and expand_shape. There was an inconsistency in the
verifier that allowed any shape casts when the rank did not change, which
led to a strange middle ground where you could cast from shape (4,3) to
(3,4) but not from (4,3) to (2,3,2). That issue was fixed (verifier made stricter)
in https://github.com/llvm/llvm-project/pull/135855, but further feedback
there (and polling) suggests that vector.shape_cast should rather allow all
shape casts (so more like tensor.reshape than
tensor.collapse_shape/tensor.expand_shape). This PR makes this simplification
by relaxing the verifier.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions