diff options
author | Bob Wilson <bob.wilson@apple.com> | 2014-10-09 05:43:30 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2014-10-09 05:43:30 +0000 |
commit | 9868d71ffed33d15cf922a4e242fc8d94a286d61 (patch) | |
tree | 81999a8ac9a0a17c0b33bc2e11da49329ebec082 /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | 13314bf5269a41a583c0019fe74bb1cdb86e7d44 (diff) | |
download | bcm5719-llvm-9868d71ffed33d15cf922a4e242fc8d94a286d61.tar.gz bcm5719-llvm-9868d71ffed33d15cf922a4e242fc8d94a286d61.zip |
Use triple's isiOS() and isOSDarwin() methods.
These methods are already used in lots of places. This makes things more
consistent. NFC.
llvm-svn: 219386
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index f9834b213ca..d63557a34ab 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -898,7 +898,7 @@ ARMTargetLowering::ARMTargetLowering(const TargetMachine &TM) if (Subtarget->hasSinCos()) { setLibcallName(RTLIB::SINCOS_F32, "sincosf"); setLibcallName(RTLIB::SINCOS_F64, "sincos"); - if (Subtarget->getTargetTriple().getOS() == Triple::IOS) { + if (Subtarget->getTargetTriple().isiOS()) { // For iOS, we don't want to the normal expansion of a libcall to // sincos. We want to issue a libcall to __sincos_stret. setOperationAction(ISD::FSINCOS, MVT::f64, Custom); |