Commit e6162cf
committed
[MachineBasicBlock] Fix SlotIndexUpdater for insertion order
Follow up fix for llvm#68786 to address that MachineFunction
handleInsertion is actually called before a new instruction has
been inserted into the block. Hence new instructions must be
recorded and SlotIndex updates performed after the delegate call.1 parent ed1d290 commit e6162cf
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
| 1104 | + | |
1104 | 1105 | | |
1105 | 1106 | | |
1106 | 1107 | | |
1107 | 1108 | | |
1108 | 1109 | | |
1109 | 1110 | | |
1110 | 1111 | | |
1111 | | - | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
1112 | 1119 | | |
1113 | 1120 | | |
1114 | | - | |
1115 | | - | |
| 1121 | + | |
| 1122 | + | |
1116 | 1123 | | |
1117 | 1124 | | |
1118 | 1125 | | |
1119 | | - | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1120 | 1129 | | |
1121 | 1130 | | |
1122 | 1131 | | |
| |||
0 commit comments