Commit 649bfe3d authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Merging r243417:

------------------------------------------------------------------------
r243417 | kbeyls | 2015-07-28 07:23:47 -0700 (Tue, 28 Jul 2015) | 3 lines

RegParmMax must be 0 for AArch64, as the regparm function attribute is not supported on AArch64.


------------------------------------------------------------------------

llvm-svn: 243442
parent 0511116c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4978,7 +4978,6 @@ public:

    LongWidth = LongAlign = PointerWidth = PointerAlign = 64;
    MaxVectorAlign = 128;
    RegParmMax = 8;
    MaxAtomicInlineWidth = 128;
    MaxAtomicPromoteWidth = 128;

+1 −0
Original line number Diff line number Diff line
// RUN: %clang_cc1 -triple le32-unknown-nacl %s -fsyntax-only -verify
// RUN: %clang_cc1 -triple aarch64 %s -fsyntax-only -verify

void __attribute__((regparm(2))) fc_f1(int i, int j, int k) {} // expected-error{{'regparm' is not valid on this platform}}