This is an archive of the discontinued LLVM Phabricator instance.

Target/X86: Never use the redzone for Win64 ABI functions.
ClosedPublic

Authored by cdavis5x on Feb 27 2015, 12:18 PM.

Details

Summary

Until now, we did this (among other things) based on whether or not the
target was Windows. This is clearly wrong, not just for Win64 ABI functions
on non-Windows, but for System V ABI functions on Windows, too. In this
change, we make this decision based on the ABI the calling convention
specifies instead.

Diff Detail

Repository
rL LLVM

Event Timeline

cdavis5x updated this revision to Diff 20879.Feb 27 2015, 12:18 PM
cdavis5x retitled this revision from to Target/X86: Never use the redzone for Win64 ABI functions..
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.Feb 27 2015, 12:39 PM
rnk edited edge metadata.

lgtm

Looks like this only needs to be a prologue tweak.

This revision is now accepted and ready to land.Feb 27 2015, 12:39 PM
This revision was automatically updated to reflect the committed changes.