This is an archive of the discontinued LLVM Phabricator instance.

Trivial fix for instruction with more than one destination in modulo peeler.
ClosedPublic

Authored by hgreving on May 15 2020, 12:22 PM.

Details

Summary

When moving an instruction into a block where it was referenced by a phi when peeling,
refer to the phi's register number and assert that the instruction has it in its destinations.
This way, it also covers instructions with more than one destination.

Diff Detail

Event Timeline

hgreving created this revision.May 15 2020, 12:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2020, 12:22 PM
ThomasRaoux accepted this revision.May 15 2020, 12:23 PM
This revision is now accepted and ready to land.May 15 2020, 12:23 PM
This revision was automatically updated to reflect the committed changes.