This is an archive of the discontinued LLVM Phabricator instance.

[Target/X86] Don't use callee-saved registers in a Win64 tail call on non-Windows.
ClosedPublic

Authored by cdavis5x on Jun 4 2015, 3:29 PM.

Details

Summary

A small bit that I missed when I updated the X86 backend to account for
the Win64 calling convention on non-Windows. Now we don't use dead
non-volatile registers when emitting a Win64 indirect tail call on
non-Windows.

Should fix PR23710.

Diff Detail

Repository
rL LLVM

Event Timeline

cdavis5x updated this revision to Diff 27153.Jun 4 2015, 3:29 PM
cdavis5x retitled this revision from to [Target/X86] Don't use callee-saved registers in a Win64 tail call on non-Windows..
cdavis5x updated this object.
cdavis5x edited the test plan for this revision. (Show Details)
cdavis5x added a reviewer: rnk.
cdavis5x added a subscriber: Unknown Object (MLST).
rnk accepted this revision.Jun 4 2015, 3:39 PM
rnk edited edge metadata.

Nice bug, lgtm. :)

This revision is now accepted and ready to land.Jun 4 2015, 3:39 PM
This revision was automatically updated to reflect the committed changes.