diff options
author | Prashant Kumar <pk5561@gmail.com> | 2024-09-27 00:37:08 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 00:37:08 +0530 |
commit | 0cf844759add057f76ca72a611e692eea191c7b7 (patch) | |
tree | 8e623d6837000820a1c368c95e3ff2bbe3cc3baf /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | 8ea2b417419344182053c0726cfff184d7917498 (diff) | |
download | llvm-0cf844759add057f76ca72a611e692eea191c7b7.zip llvm-0cf844759add057f76ca72a611e692eea191c7b7.tar.gz llvm-0cf844759add057f76ca72a611e692eea191c7b7.tar.bz2 |
[MLIR][SCF] Fold dim ops of iter_args to respective init_args (#109973)
Fold dim ops of iter_args to dim ops of their respective init args.
E.g.:
```
%0 = ... : tensor<?x?xf32>
scf.forall ... shared_outs(%arg0 = %0) -> (tensor<?x?xf32>) {
%1 = tensor.dim %arg0, %c0 : tensor<?x?xf32>
...
}
```
is folded to:
```
%0 = ... : tensor<?x?xf32>
scf.forall ... shared_outs(%arg0 = %0) -> (tensor<?x?xf32>) {
%1 = tensor.dim %0, %c0 : tensor<?x?xf32>
...
}
```
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions