In TryAdjustInsertionPoint an insertion point has already been selected but the live out checks are done on Start instead. Most of the time Start == InserPt, but in other cases where this isn't the case, these live-out checks will fail as false negatives since there will be a mov lr after Start. This patch changes the live-out checks to use InsertPt instead.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp | ||
---|---|---|
1088 | Start -> InsertPt for these two as well. |
Comment Actions
Ah yes, I'll add one.
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp | ||
---|---|---|
1088 | I missed these, thanks. |
Comment Actions
The code that this change depends on has been reverted so I will delay close this and re-visit it once those changes have been re-worked.
Start -> InsertPt for these two as well.