Commit 526ec90
authored
Distribute immediately after wrap (#207)
* Fix barriers betting removed when they are required for interchange
* Fix distributing after wrap
* Make dsitrib after for respect mincut setting
* Ignore CacheLoadOp's memory effects when checking recomputability
* Use FullyRecomputable function in while wrap and interchange
* Make CacheLoad a no side effect op
* Reuse code for recomputability check
* clang-format
* Remove NoSideEffects from CacheLoad, handle it explicitly
* Fix collectEffect behaviour for CanonicalizeFor
* Fix distributing around the wrong barrier after a wrap
* Forgot to set singleExecution=true for recomputable check before ifs
* Update tests
* Comments
* Do not replicate reads if possible in distribute around barriers
* Fix some resultless operations such as yield not getting recomputed
* Fix op recalculation when distributing around barrier
* Improved check for recomputability in distribute
* Update tests
* clang format1 parent 4bef66b commit 526ec90
File tree
7 files changed
+1301
-1230
lines changed- include/polygeist
- lib/polygeist
- Passes
- test/polygeist-opt
7 files changed
+1301
-1230
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
67 | | - | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| |||
94 | 100 | | |
95 | 101 | | |
96 | 102 | | |
97 | | - | |
| 103 | + | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
| |||
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
117 | | - | |
| 123 | + | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| |||
134 | 140 | | |
135 | 141 | | |
136 | 142 | | |
137 | | - | |
| 143 | + | |
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
| |||
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
157 | | - | |
| 163 | + | |
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1521 | 1521 | | |
1522 | 1522 | | |
1523 | 1523 | | |
1524 | | - | |
1525 | | - | |
1526 | | - | |
1527 | | - | |
1528 | | - | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
1532 | | - | |
1533 | | - | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
1537 | | - | |
1538 | | - | |
1539 | | - | |
1540 | | - | |
1541 | | - | |
1542 | | - | |
1543 | | - | |
1544 | | - | |
1545 | | - | |
1546 | | - | |
1547 | | - | |
1548 | | - | |
1549 | | - | |
1550 | | - | |
1551 | | - | |
1552 | | - | |
1553 | | - | |
1554 | | - | |
1555 | | - | |
1556 | | - | |
1557 | 1524 | | |
1558 | 1525 | | |
1559 | 1526 | | |
| |||
1573 | 1540 | | |
1574 | 1541 | | |
1575 | 1542 | | |
1576 | | - | |
| 1543 | + | |
1577 | 1544 | | |
1578 | 1545 | | |
1579 | | - | |
| 1546 | + | |
1580 | 1547 | | |
1581 | 1548 | | |
1582 | 1549 | | |
| |||
0 commit comments