[PATCH] D67406: [TLI][AMDGPU] AMDPAL does not have tan function
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 09:28:12 PDT 2019
arsenm added inline comments.
================
Comment at: lib/Analysis/TargetLibraryInfo.cpp:117-118
TLI.setUnavailable(LibFunc_log10l);
+ // For PAL OS, we do not have a tan function.
+ if (T.getOS() == Triple::AMDPAL) {
+ TLI.setUnavailable(LibFunc_tan);
----------------
This isn't a frontend specific property. Nothing has a library in the sense this means
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67406/new/
https://reviews.llvm.org/D67406
More information about the llvm-commits
mailing list