This repository was archived by the owner on Sep 15, 2025. It is now read-only.
Commit 4fbbb7a
authored
[mlir][bufferization] Fix ownership computation of unknown ops (llvm#70773)
No ownership is assumed for memref results of ops that implement none of the relevant interfaces and have no memref operands. This fixes llvm#68948.1 parent 604eff6 commit 4fbbb7a
File tree
2 files changed
+45
-10
lines changed- mlir
- lib/Dialect/Bufferization/Transforms
- test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation
2 files changed
+45
-10
lines changedLines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
986 | 979 | | |
987 | 980 | | |
988 | 981 | | |
| |||
991 | 984 | | |
992 | 985 | | |
993 | 986 | | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
994 | 998 | | |
995 | 999 | | |
996 | 1000 | | |
| |||
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments