mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Use triple's isiOS() and isOSDarwin() methods.
These methods are already used in lots of places. This makes things more consistent. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219386 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user