This is an archive of the discontinued LLVM Phabricator instance.

TRI: Add hook to pass scavenger during frame elimination
ClosedPublic

Authored by arsenm on Nov 21 2016, 3:52 PM.

Details

Summary

The scavenger was not passed if requiresFrameIndexScavenging was
enabled. I need to be able to test for the availability of an
unallocatable register here, so I can't create a virtual register for it.

It might be better to just always use the scavenger and stop
creating virtual registers.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 78799.Nov 21 2016, 3:52 PM
arsenm retitled this revision from to TRI: Add hook to pass scavenger during frame elimination.
arsenm updated this object.
arsenm added a reviewer: MatzeB.
arsenm added a subscriber: llvm-commits.
MatzeB accepted this revision.Nov 21 2016, 4:01 PM
MatzeB edited edge metadata.

LGTM, with nitpick.

include/llvm/Target/TargetRegisterInfo.h
819

Use 1 more indentation level here.

This revision is now accepted and ready to land.Nov 21 2016, 4:01 PM
arsenm closed this revision.Nov 23 2016, 4:37 PM

r287843