summaryrefslogtreecommitdiff
path: root/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
commit7113922b20026e1e56c3b3861cab8b148f06ab90 (patch)
tree9a5fd2b977613eb37c71bb33ef6c6f4dcb747f60 /lib/Target/ARM/ARMSubtarget.h
parent0762d6c0a7f130d0d7b264bd152c3e74eb0aa9d3 (diff)
downloadllvm-7113922b20026e1e56c3b3861cab8b148f06ab90.tar.gz
llvm-7113922b20026e1e56c3b3861cab8b148f06ab90.tar.bz2
llvm-7113922b20026e1e56c3b3861cab8b148f06ab90.tar.xz
Recognize EABIHF as environment and use it for RTAPI + VFP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--lib/Target/ARM/ARMSubtarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h
index 45a7a1aaae..42bc155d3b 100644
--- a/lib/Target/ARM/ARMSubtarget.h
+++ b/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; }