projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: teach backend about WatchOS and TvOS libcalls.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMSubtarget.cpp
diff --git
a/lib/Target/ARM/ARMSubtarget.cpp
b/lib/Target/ARM/ARMSubtarget.cpp
index aea452cdbc581d9cdb08eba40a820f9c31cfee6b..84d3ebcc681c3f3f8835f606bfe37e00fa5ebcf6 100644
(file)
--- a/
lib/Target/ARM/ARMSubtarget.cpp
+++ b/
lib/Target/ARM/ARMSubtarget.cpp
@@
-299,7
+299,8
@@
unsigned ARMSubtarget::getMispredictionPenalty() const {
}
bool ARMSubtarget::hasSinCos() const {
}
bool ARMSubtarget::hasSinCos() const {
- return getTargetTriple().isiOS() && !getTargetTriple().isOSVersionLT(7, 0);
+ return isTargetWatchOS() ||
+ (isTargetIOS() && !getTargetTriple().isOSVersionLT(7, 0));
}
bool ARMSubtarget::enableMachineScheduler() const {
}
bool ARMSubtarget::enableMachineScheduler() const {