summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2013-12-16 18:51:28 +0000
committerJoerg Sonnenberger <joerg@bec.de>2013-12-16 18:51:28 +0000
commit8fe41b731968da51e9fb2b0b889fe49df6c23649 (patch)
tree58ce1d0b345603d6628b3b78416039687af0250a /llvm/lib/Target/ARM/ARMSubtarget.h
parent0c1652dabd56bf8d60e693c4dd6675c65cbf1370 (diff)
downloadbcm5719-llvm-8fe41b731968da51e9fb2b0b889fe49df6c23649.tar.gz
bcm5719-llvm-8fe41b731968da51e9fb2b0b889fe49df6c23649.zip
Recognize EABIHF as environment and use it for RTAPI + VFP.
llvm-svn: 197405
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index 45a7a1aaaec..42bc155d3be 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -317,7 +317,8 @@ public:
// even for GNUEABI, so we can make a distinction here and still conform to
// the EABI on GNU (and Android) mode. This requires change in Clang, too.
bool isTargetAEABI() const {
- return TargetTriple.getEnvironment() == Triple::EABI;
+ return TargetTriple.getEnvironment() == Triple::EABI ||
+ TargetTriple.getEnvironment() == Triple::EABIHF;
}
bool isAPCS_ABI() const { return TargetABI == ARM_ABI_APCS; }
OpenPOWER on IntegriCloud