]> granicus.if.org Git - llvm/commitdiff
[ARM] Complete enumeration values for Tag_ABI_VFP_args
authorPeter Smith <peter.smith@linaro.org>
Tue, 31 Jul 2018 13:24:49 +0000 (13:24 +0000)
committerPeter Smith <peter.smith@linaro.org>
Tue, 31 Jul 2018 13:24:49 +0000 (13:24 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338373 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ARMBuildAttributes.h

index 6c83e447cb245f675c87d380d69ff6294b13bc46..b8a03765a7c0abcc2c4d267940aec274e87d9222 100644 (file)
@@ -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