This is an archive of the discontinued LLVM Phabricator instance.

Fix check for prescheduling to copies from virtual registers
AbandonedPublic

Authored by colpell on Jul 15 2016, 12:26 PM.

Details

Reviewers
bogner
Summary

Currently, this check on line 2834 is an exact copy of a check on line 2810, which SU should have already passed. Given the context and comment above the check ("Avoid prescheduling *to* copies" vs. "Avoid prescheduling copies"), it seems like the intention was to check PredSU instead.

Diff Detail

Event Timeline

colpell updated this revision to Diff 64179.Jul 15 2016, 12:26 PM
colpell retitled this revision from to Fix check for prescheduling to copies from virtual registers.
colpell updated this object.
colpell added a reviewer: bogner.
colpell added a subscriber: llvm-commits.
colpell abandoned this revision.Jul 20 2016, 12:03 PM

After conversation with Justin, this revision does not appear to be correct.