[llvm] [TLI] Add support for nan libfunc (PR #101356)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 00:32:09 PDT 2024
================
@@ -279,6 +279,9 @@ bool llvm::inferNonMandatoryLibFuncAttrs(Function &F,
Changed |= setNonLazyBind(F);
switch (TheLibFunc) {
+ case LibFunc_nan:
+ case LibFunc_nanf:
+ case LibFunc_nanl:
----------------
nikic wrote:
I filed a glibc bug here: https://sourceware.org/bugzilla/show_bug.cgi?id=32045
https://github.com/llvm/llvm-project/pull/101356
More information about the llvm-commits
mailing list