This is an archive of the discontinued LLVM Phabricator instance.

Add MachineFunctionProperty checks for AllVRegsAllocated for target passes
ClosedPublic

Authored by dschuff on Mar 28 2016, 2:02 PM.

Details

Summary

This adds the same checks that were added in r264593 to all
target-specific passes that run after register allocation.

These passes declare that the passes assume that there will
never be virtual register register operands, and the
MachineFunctionPass now enforces this check.

Diff Detail

Event Timeline

dschuff updated this revision to Diff 51837.Mar 28 2016, 2:02 PM
dschuff retitled this revision from to Add MachineFunctionProperty checks for AllVRegsAllocated for target passes.
dschuff updated this object.
dschuff added a reviewer: qcolombet.
dschuff added a subscriber: llvm-commits.
dschuff updated this object.Mar 28 2016, 2:04 PM
qcolombet accepted this revision.Apr 1 2016, 5:03 PM
qcolombet edited edge metadata.

Hi Derek,

LGTM.

Thanks,
Q.

This revision is now accepted and ready to land.Apr 1 2016, 5:03 PM
This revision was automatically updated to reflect the committed changes.