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

llvm-svn: 243417
This commit is contained in:
Kristof Beyls 2015-07-28 14:23:47 +00:00
parent 4825060059
commit 918f8ab7c6
2 changed files with 1 additions and 1 deletions

View File

@ -5082,7 +5082,6 @@ public:
LongWidth = LongAlign = PointerWidth = PointerAlign = 64;
MaxVectorAlign = 128;
RegParmMax = 8;
MaxAtomicInlineWidth = 128;
MaxAtomicPromoteWidth = 128;

View File

@ -1,4 +1,5 @@
// 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}}