diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-02 20:32:05 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-02 20:32:05 +0000 |
commit | 396e5e328ccae90acc6dff60f4957af8cc53c955 (patch) | |
tree | f7a5c606ed284f87af842f4b3737d326a0639d2c /lib/Target/ARM/ARMISelLowering.cpp | |
parent | bc413d65a27548004a97c25e0bb82489246d85b9 (diff) | |
download | llvm-396e5e328ccae90acc6dff60f4957af8cc53c955.tar.gz llvm-396e5e328ccae90acc6dff60f4957af8cc53c955.tar.bz2 llvm-396e5e328ccae90acc6dff60f4957af8cc53c955.tar.xz |
ARM: update subtarget information for Windows on ARM
Update the subtarget information for Windows on ARM. This enables using the MC
layer to target Windows on ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 1778659b54..0f43b32436 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -250,7 +250,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) setLibcallName(RTLIB::SRL_I128, 0); setLibcallName(RTLIB::SRA_I128, 0); - if (Subtarget->isAAPCS_ABI() && !Subtarget->isTargetMachO()) { + if (Subtarget->isAAPCS_ABI() && !Subtarget->isTargetMachO() && + !Subtarget->isTargetWindows()) { // Double-precision floating-point arithmetic helper functions // RTABI chapter 4.1.2, Table 2 setLibcallName(RTLIB::ADD_F64, "__aeabi_dadd"); |