mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Enable optimization of sin / cos pair into call to __sincos_stret for iOS7+.
rdar://12856873 Patch by Evan Cheng, with a fix for rdar://13209539 by Tilmann Scheller git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193942 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -281,6 +281,11 @@ unsigned ARMSubtarget::getMispredictionPenalty() const {
|
||||
return SchedModel->MispredictPenalty;
|
||||
}
|
||||
|
||||
bool ARMSubtarget::hasSinCos() const {
|
||||
return getTargetTriple().getOS() == Triple::IOS &&
|
||||
!getTargetTriple().isOSVersionLT(7, 0);
|
||||
}
|
||||
|
||||
bool ARMSubtarget::enablePostRAScheduler(
|
||||
CodeGenOpt::Level OptLevel,
|
||||
TargetSubtargetInfo::AntiDepBreakMode& Mode,
|
||||
|
Reference in New Issue
Block a user