summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2019-09-17 21:43:19 +0000
committerEli Friedman <efriedma@quicinc.com>2019-09-17 21:43:19 +0000
commit33054a02f762671d85253fc49fa819ccbc8b0474 (patch)
tree23456cc7983d39bda9aa75c26db1134809cecd5f /clang/lib/Basic
parentddf5e86c222c6b5226be53e1250421fe608bb4d0 (diff)
downloadbcm5719-llvm-33054a02f762671d85253fc49fa819ccbc8b0474.tar.gz
bcm5719-llvm-33054a02f762671d85253fc49fa819ccbc8b0474.zip
[ARM] Update clang for removal of vfp2d16 and vfp2d16sp
Matching fix for https://reviews.llvm.org/D67375 (r372186). Differential Revision: https://reviews.llvm.org/D67467 llvm-svn: 372187
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r--clang/lib/Basic/Targets/ARM.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Basic/Targets/ARM.cpp b/clang/lib/Basic/Targets/ARM.cpp
index 2d23b050bbc..437a77afdc9 100644
--- a/clang/lib/Basic/Targets/ARM.cpp
+++ b/clang/lib/Basic/Targets/ARM.cpp
@@ -428,11 +428,10 @@ bool ARMTargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
for (const auto &Feature : Features) {
if (Feature == "+soft-float") {
SoftFloat = true;
- } else if (Feature == "+vfp2sp" || Feature == "+vfp2d16sp" ||
- Feature == "+vfp2" || Feature == "+vfp2d16") {
+ } else if (Feature == "+vfp2sp" || Feature == "+vfp2") {
FPU |= VFP2FPU;
HW_FP |= HW_FP_SP;
- if (Feature == "+vfp2" || Feature == "+vfp2d16")
+ if (Feature == "+vfp2")
HW_FP |= HW_FP_DP;
} else if (Feature == "+vfp3sp" || Feature == "+vfp3d16sp" ||
Feature == "+vfp3" || Feature == "+vfp3d16") {
OpenPOWER on IntegriCloud