Commit 57a0bf4
authored
[mlir][linalg] Do not set insertion point inside padding function (#165420)
Remove insertion point in rewriteAsPaddedOp. There is no gurantee that
the sizes provided by the user are before the operation to pad. It's
better to let the user handle where to insert the newly created
operations, as long as they are after the origin operation to pad.1 parent 49f918d commit 57a0bf4
File tree
3 files changed
+5
-4
lines changed- mlir
- include/mlir/Dialect/Linalg/Transforms
- lib/Dialect/Linalg
- TransformOps
- Transforms
3 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
656 | 659 | | |
657 | 660 | | |
658 | 661 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2464 | 2464 | | |
2465 | 2465 | | |
2466 | 2466 | | |
| 2467 | + | |
| 2468 | + | |
2467 | 2469 | | |
2468 | 2470 | | |
2469 | 2471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | 291 | | |
296 | 292 | | |
297 | 293 | | |
| |||
0 commit comments