diff options
| author | Han-Chung Wang <hanhan0912@gmail.com> | 2024-07-03 16:03:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-03 16:03:41 -0700 |
| commit | eaabd762bd54dec75d8fee69f6aa1c26d1cbc68f (patch) | |
| tree | aa4ecaa4ad92ffeaeeefae8b9c010ddb19da738a /lldb/test/API/python_api | |
| parent | af7ee51a90beeb8198ceac0100c52b102543cf4b (diff) | |
Revert "[MLIR][Vector] Generalize DropUnitDimFromElementwiseOps to non leading / trailing dimensions." (#97652)
Reverts llvm/llvm-project#92934 because it breaks some lowering. To
repro: `mlir-opt -test-vector-transfer-flatten-patterns ~/repro.mlir`
```mlir
func.func @unit_dim_folding(%arg0: vector<1x1xf32>) -> vector<1x1xf32> {
%cst = arith.constant dense<0.000000e+00> : vector<1x1xf32>
%0 = arith.mulf %arg0, %cst : vector<1x1xf32>
return %0 : vector<1x1xf32>
}
```
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
