This is an archive of the discontinued LLVM Phabricator instance.

AArch64_BE test case for predefined macros
ClosedPublic

Authored by cpirker on Mar 19 2014, 4:43 AM.

Details

Summary

Hi All,

I added a test case for the aarch64_be target predefined macros.
Particularly AARCH64EB, corresponding to AARCH64EL for the aarch64 target.

Thanks,
Christian

Diff Detail

Event Timeline

Hi Christian,

Mostly looks fine. Just one query:

test/Preprocessor/init.c
320–321

Shouldn't ARM_BIG_ENDIAN be here? My ACLE seems to think so (we seem to have ARCH_BIG_ENDIAN instead, which is probably my fault but incorrect).

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

Hi Tim,

I added the "ARM_BIG_ENDIAN" define.
In the test file I check for "
ARM_BIG_ENDIAN" and "__AARCH_BIG_ENDIAN" defines.

Thanks,
Christian

Hi Christian,

This looks good to me. Thanks for doing the update.

Tim.

I committed this patch as r204604.

test/Preprocessor/init.c
320–321

Hi Tim,

I will add the "ARM_BIG_ENDIAN" define.
In the test file I will check for "
ARM_BIG_ENDIAN" and "__AARCH_BIG_ENDIAN" defines.

Thanks,
Christian

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 (rL204604).

Thanks,
Christian

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