diff options
author | Matthias Braun <matze@braunis.de> | 2017-12-18 23:19:42 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-12-18 23:19:42 +0000 |
commit | a4852d2c1994545d694c15dba9f8e6586ffd9704 (patch) | |
tree | 733df7c4161d1ba8d5dc5bae91f866e1fa73be1c /llvm/lib/Target/ARM/ARMSubtarget.h | |
parent | a92cecfbda0f2cc3ac57cd12da824c8ac7d19bdf (diff) | |
download | bcm5719-llvm-a4852d2c1994545d694c15dba9f8e6586ffd9704.tar.gz bcm5719-llvm-a4852d2c1994545d694c15dba9f8e6586ffd9704.zip |
X86/AArch64/ARM: Factor out common sincos_stret logic; NFCI
Note:
- X86ISelLowering: setLibcallName(SINCOS) was superfluous as
InitLibcalls() already does it.
- ARMISelLowering: Setting libcallnames for sincos/sincosf seemed
superfluous as in the darwin case it wouldn't be used while for all
other cases InitLibcalls already does it.
llvm-svn: 321036
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h index 9301197e138..d86b1d2ec99 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.h +++ b/llvm/lib/Target/ARM/ARMSubtarget.h @@ -712,10 +712,6 @@ public: unsigned getMispredictionPenalty() const; - /// This function returns true if the target has sincos() routine in its - /// compiler runtime or math libraries. - bool hasSinCos() const; - /// Returns true if machine scheduler should be enabled. bool enableMachineScheduler() const override; |