Commit 4d11955
committed
[LoopFusion] Forget loop and block dispositions after latch merge
Merging the latches of loops may affect the dispositions, so they
should be forgotten after the merge. This patch will fix the crash
due to using loop dispositions after forgetting them.1 parent ed53c41 commit 4d11955
File tree
2 files changed
+70
-6
lines changed- llvm
- lib/Transforms/Scalar
- test/Transforms/LoopFusion
2 files changed
+70
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1796 | 1796 | | |
1797 | 1797 | | |
1798 | 1798 | | |
1799 | | - | |
1800 | | - | |
1801 | | - | |
1802 | 1799 | | |
1803 | 1800 | | |
1804 | 1801 | | |
1805 | 1802 | | |
1806 | 1803 | | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
1807 | 1808 | | |
1808 | 1809 | | |
1809 | 1810 | | |
| |||
2092 | 2093 | | |
2093 | 2094 | | |
2094 | 2095 | | |
2095 | | - | |
2096 | | - | |
2097 | | - | |
2098 | 2096 | | |
2099 | 2097 | | |
2100 | 2098 | | |
2101 | 2099 | | |
2102 | 2100 | | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
2103 | 2105 | | |
2104 | 2106 | | |
2105 | 2107 | | |
| |||
| 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 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
0 commit comments