This is an archive of the discontinued LLVM Phabricator instance.

Add support for Android Vector calling convention for AArch64
ClosedPublic

Authored by niravd on Feb 19 2016, 7:36 AM.

Details

Summary

This modification applies the following Android commit when we have an
Android environment. This is the sole non-renderscript in the Android repo

commit 9212d4fb30a3ca2f4ee966dd2748c35573d9682c
Author: Tim Murray <timmurray@google.com>
Date: Fri Aug 15 16:00:15 2014 -0700

	    Update vector calling convention for AArch64.

	    bug 16846318

	    Change-Id: I3cfd167758b4bd634d8480ee6ba6bb55d61f82a7

Diff Detail

Repository
rL LLVM

Event Timeline

niravd updated this revision to Diff 48493.Feb 19 2016, 7:36 AM
niravd retitled this revision from to Add support for Android Vector calling convention for AArch64.
niravd updated this object.
niravd added reviewers: srhines, jyknight.

Please include a test case.

This comment was removed by niravd.
niravd updated this revision to Diff 48542.Feb 19 2016, 12:20 PM

Add test case

Wasn't there a test for the other types already? Would be better to put all of them on the same file.

niravd updated this revision to Diff 48669.Feb 22 2016, 5:44 AM

Updating D17448: Merge added aarch64 abi vector test file with arm64 file

rengolin added inline comments.Feb 22 2016, 5:49 AM
lib/CodeGen/TargetInfo.cpp
4263 ↗(On Diff #48669)

This seems to be in the wrong place... Isn't there a similar method somewhere else to avoid code duplication?

niravd updated this revision to Diff 48675.Feb 22 2016, 7:30 AM

Updating D17448: Merge isAndroid class function in ABIInfo

niravd updated this revision to Diff 48676.Feb 22 2016, 7:32 AM

Remove extra newline

rengolin added inline comments.Feb 22 2016, 7:37 AM
lib/CodeGen/TargetInfo.cpp
4265 ↗(On Diff #48676)

you left an empty line change.

4323 ↗(On Diff #48676)

why do you need the AArch64ABIInfo:: here?

niravd updated this revision to Diff 48677.Feb 22 2016, 7:43 AM

Remove Newline

niravd updated this revision to Diff 48681.Feb 22 2016, 7:55 AM

Remove extraneous explicit class name use

rengolin accepted this revision.Feb 22 2016, 8:22 AM
rengolin added a reviewer: rengolin.

With the nitpick, LGTM. Thanks!

lib/CodeGen/TargetInfo.cpp
120 ↗(On Diff #48681)

small nitpick, remove the space between the class name and the method name.

This revision is now accepted and ready to land.Feb 22 2016, 8:22 AM
This revision was automatically updated to reflect the committed changes.