diff options
author | Min-Yih Hsu <min.hsu@sifive.com> | 2025-08-08 09:25:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-08 09:25:32 -0700 |
commit | b4e8b8ee914d2de2c6c33c656fe8c06f5c11a01b (patch) | |
tree | 0a03e34309d4259e796561e3d45d05209d10c2e7 /clang/lib/AST/ByteCode | |
parent | 0419b459be770a428ee4b98c7613bff2be032961 (diff) | |
download | llvm-b4e8b8ee914d2de2c6c33c656fe8c06f5c11a01b.zip llvm-b4e8b8ee914d2de2c6c33c656fe8c06f5c11a01b.tar.gz llvm-b4e8b8ee914d2de2c6c33c656fe8c06f5c11a01b.tar.bz2 |
[mlir][vector] Canonicalize broadcast of shape_cast (#150523)
Fold `broadcast(shape_cast(x))` into `broadcast(x)` if the type of x is
compatible with broadcast's result type and the shape_cast only adds or removes ones in the leading dimensions.
---------
Co-authored-by: Andrzej WarzyĆski <andrzej.warzynski@gmail.com>
Co-authored-by: James Newling <james.newling@gmail.com>
Diffstat (limited to 'clang/lib/AST/ByteCode')
0 files changed, 0 insertions, 0 deletions