From dd4a889f6a5b05f0061d63af8136ebd70d132c65 Mon Sep 17 00:00:00 2001 From: David Meyer Date: Tue, 11 Oct 2011 03:12:01 +0000 Subject: [PATCH] Allow regparm attribute for PNaCl target git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141638 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/Targets.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index abb1f867f8..e63af6b18a 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -3418,6 +3418,7 @@ public: this->SizeType = TargetInfo::UnsignedInt; this->PtrDiffType = TargetInfo::SignedInt; this->IntPtrType = TargetInfo::SignedInt; + this->RegParmMax = 2; DescriptionString = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-" "f32:32:32-f64:64:64-p:32:32:32-v128:32:32"; } -- 2.50.1