Lowering safepoint checks that all gc.relocaes observed in safepoint
must be lowered. However Fast-Isel is able to skip dead gc.relocate.
To resolve this issue we just ignore dead gc.relocate in the check.
Differential D60184
[FastISel] Fix crash for gc.relocate lowring skatkov on Apr 3 2019, 1:10 AM. Authored by
Details Lowering safepoint checks that all gc.relocaes observed in safepoint To resolve this issue we just ignore dead gc.relocate in the check.
Diff Detail
Event TimelineComment Actions Hm, I think it's better to weaken the invariant in this case. If the instruction is dead, then selectiondag shouldn't be lowering it or expecting to lower it. Comment Actions LGTM w/requested change applied in both places.
|