This is an archive of the discontinued LLVM Phabricator instance.

[Power PC] fix for passing long double arguments to function (soft float)
ClosedPublic

Authored by spetrovic on May 10 2016, 9:50 AM.

Details

Reviewers
petarj
hfinkel
Summary

This patch fixes passing long double type arguments to function in soft float mode.
If there is less than 4 argument registers free (long double type is mapped in 4 gpr registers in soft float mode) long double type argument must be passed through stack.

Diff Detail

Repository
rL LLVM

Event Timeline

spetrovic updated this revision to Diff 56733.May 10 2016, 9:50 AM
spetrovic retitled this revision from to [Power PC] fix for passing long double arguments to function (soft float).
spetrovic updated this object.
spetrovic added reviewers: hfinkel, petarj.
spetrovic set the repository for this revision to rL LLVM.
spetrovic added subscribers: rankov, ivanbaev.
hfinkel accepted this revision.Aug 3 2016, 9:48 AM
hfinkel edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 3 2016, 9:48 AM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r277804.