[llvm] r338373 - [ARM] Complete enumeration values for Tag_ABI_VFP_args

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 06:24:49 PDT 2018


Author: psmith
Date: Tue Jul 31 06:24:49 2018
New Revision: 338373

URL: http://llvm.org/viewvc/llvm-project?rev=338373&view=rev
Log:
[ARM] Complete enumeration values for Tag_ABI_VFP_args

The LLD implementation of Tag_ABI_VFP_args needs to check the rarely seen
values of 3 (toolchain specific) and 4 compatible with both Base and VFP.
Add the missing enumeration values so that LLD can refer to them without
having to use the raw numbers.

Differential Revision: https://reviews.llvm.org/D50049


Modified:
    llvm/trunk/include/llvm/Support/ARMBuildAttributes.h

Modified: llvm/trunk/include/llvm/Support/ARMBuildAttributes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ARMBuildAttributes.h?rev=338373&r1=338372&r2=338373&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ARMBuildAttributes.h (original)
+++ llvm/trunk/include/llvm/Support/ARMBuildAttributes.h Tue Jul 31 06:24:49 2018
@@ -213,6 +213,8 @@ enum {
   // Tag_ABI_VFP_args, (=28), uleb128
   BaseAAPCS = 0,
   HardFPAAPCS = 1,
+  ToolChainFPPCS = 2,
+  CompatibleFPAAPCS = 3,
 
   // Tag_FP_HP_extension, (=36), uleb128
   AllowHPFP = 1, // Allow use of Half Precision FP




More information about the llvm-commits mailing list