[PATCH] D21282: AMDGPU: mark {exp, log}10{, f, l} library functions as unavailable
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 06:21:37 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL272664: AMDGPU: mark {exp,log}10{,f,l} library functions as unavailable (authored by nha).
Changed prior to commit:
http://reviews.llvm.org/D21282?vs=60496&id=60672#toc
Repository:
rL LLVM
http://reviews.llvm.org/D21282
Files:
llvm/trunk/lib/Analysis/TargetLibraryInfo.cpp
Index: llvm/trunk/lib/Analysis/TargetLibraryInfo.cpp
===================================================================
--- llvm/trunk/lib/Analysis/TargetLibraryInfo.cpp
+++ llvm/trunk/lib/Analysis/TargetLibraryInfo.cpp
@@ -65,6 +65,12 @@
TLI.setUnavailable(LibFunc::ldexp);
TLI.setUnavailable(LibFunc::ldexpf);
TLI.setUnavailable(LibFunc::ldexpl);
+ TLI.setUnavailable(LibFunc::exp10);
+ TLI.setUnavailable(LibFunc::exp10f);
+ TLI.setUnavailable(LibFunc::exp10l);
+ TLI.setUnavailable(LibFunc::log10);
+ TLI.setUnavailable(LibFunc::log10f);
+ TLI.setUnavailable(LibFunc::log10l);
}
// There are no library implementations of mempcy and memset for AMD gpus and
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21282.60672.patch
Type: text/x-patch
Size: 703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160614/199ffb36/attachment.bin>
More information about the llvm-commits
mailing list