This is an archive of the discontinued LLVM Phabricator instance.

AArch64_BE function argument passing for ARM ABI
ClosedPublic

Authored by cpirker on Mar 25 2014, 8:10 AM.

Details

Summary

Hi all,

This patch implements the function argument passing for ARM ABI for AArch64 big endian.
Please review.

Thanks,
Christian

Diff Detail

Event Timeline

Hi Christian,

Most of this looks good. Just a couple of minor quibbles:

lib/Target/AArch64/AArch64ISelLowering.cpp
1641–1642

Is this extra alignment step needed? I can't think of any types with a bitsize not a multiple of 8.

test/CodeGen/AArch64/func-argpassing.ll
23

Accidentally removed whitespace.

test/CodeGen/AArch64/mul-lohi.ll
11

It's best to use "CHECK-BE-LABEL:" for function names. It makes debugging any failures in future easier.

cpirker added inline comments.Mar 25 2014, 11:05 AM
lib/Target/AArch64/AArch64ISelLowering.cpp
1641–1642

You are right, we simply copied line 1629.

cpirker updated this revision to Unknown Object (????).Mar 25 2014, 11:09 AM

Hi Tim,

I updated the test files:

test/CodeGen/AArch64/func-argpassing.ll
test/CodeGen/AArch64/mul-lohi.ll

Thanks,
Christian

I committed this patch as r204814.

Hi Tim,

I added you as reviewer.
Can you please "Accepted Revision" so that I can "Close Revision"?
As you can see in the comment above, the patch is already committed (rL204814).

Thanks,
Christian

cpirker accepted this revision.May 15 2014, 5:04 AM
cpirker added a reviewer: cpirker.
cpirker edited edge metadata.
This revision is now accepted and ready to land.May 15 2014, 5:04 AM
cpirker closed this revision.May 15 2014, 5:04 AM