This is an archive of the discontinued LLVM Phabricator instance.

[LiveRange] Reset the VNIs when splitting subranges
ClosedPublic

Authored by qcolombet on Mar 22 2019, 6:10 PM.

Details

Summary

When splitting a subrange we end up with two different subranges covering
two different, non overlapping, lanes.
As part of this splitting the VNIs of the original live-range need
to be dispatched to the subranges according to which lanes they are
actually defining.

Prior to this patch we were assuming that all values were defining
all lanes. This was wrong as demonstrated by llvm.org/PR40835.

Diff Detail

Repository
rL LLVM

Event Timeline

qcolombet created this revision.Mar 22 2019, 6:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2019, 6:10 PM
Herald added subscribers: tpr, MatzeB. · View Herald Transcript

Fix seg fault with PHIs

arsenm accepted this revision.Mar 25 2019, 12:11 PM
arsenm added a subscriber: arsenm.

LGTM

This revision is now accepted and ready to land.Mar 25 2019, 12:11 PM
This revision was automatically updated to reflect the committed changes.