forked from OSchip/llvm-project
RegParmMax must be 0 for AArch64, as the regparm function attribute is not supported on AArch64.
llvm-svn: 243417
This commit is contained in:
parent
4825060059
commit
918f8ab7c6
|
@ -5082,7 +5082,6 @@ public:
|
|||
|
||||
LongWidth = LongAlign = PointerWidth = PointerAlign = 64;
|
||||
MaxVectorAlign = 128;
|
||||
RegParmMax = 8;
|
||||
MaxAtomicInlineWidth = 128;
|
||||
MaxAtomicPromoteWidth = 128;
|
||||
|
||||
|
|
|
@ -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}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue