Commit f173be8
Matthew Francis-Landau
Transpose Reshape Elimination pass.
This is a new pass that is designed to replace the existing Transpose
and Reshape Elemination passes. This pass adds a lot of new rewrite
rules which enable pushing the transposes and reshapes around so that
they can be combined and then eliminated.
Signed-off-by: Matthew Francis-Landau <[email protected]>
fix transpose lit test
Signed-off-by: Matthew Francis-Landau <[email protected]>
cp
cp
cp
Signed-off-by: Matthew Francis-Landau <[email protected]>
cp
cp
some improvements for matching matmul with reshapes, and update lit tests
Signed-off-by: Matthew Francis-Landau <[email protected]>1 parent deb6e79 commit f173be8
File tree
9 files changed
+2789
-48
lines changed- mlir-tensorrt/tensorrt
- include/mlir-tensorrt-dialect/TensorRT
- IR
- Transforms
- lib/TensorRT
- IR
- Transforms
- test/Dialect/TensorRT
9 files changed
+2789
-48
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3790 | 3790 | | |
3791 | 3791 | | |
3792 | 3792 | | |
| 3793 | + | |
3793 | 3794 | | |
3794 | 3795 | | |
3795 | 3796 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
259 | 273 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1850 | 1850 | | |
1851 | 1851 | | |
1852 | 1852 | | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
1853 | 1860 | | |
1854 | 1861 | | |
1855 | 1862 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 89 | + | |
92 | 90 | | |
93 | 91 | | |
94 | 92 | | |
| |||
0 commit comments