[llvm] r368452 - [Transforms] Fix comments for hasFloatFn() and getFloatFnName() (NFC)

Evandro Menezes via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 09:59:14 PDT 2019


Author: evandro
Date: Fri Aug  9 09:59:14 2019
New Revision: 368452

URL: http://llvm.org/viewvc/llvm-project?rev=368452&view=rev
Log:
[Transforms] Fix comments for hasFloatFn() and getFloatFnName() (NFC)

Modified:
    llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h

Modified: llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h?rev=368452&r1=368451&r2=368452&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h Fri Aug  9 09:59:14 2019
@@ -30,12 +30,12 @@ namespace llvm {
   bool inferLibFuncAttributes(Function &F, const TargetLibraryInfo &TLI);
   bool inferLibFuncAttributes(Module *M, StringRef Name, const TargetLibraryInfo &TLI);
 
-  /// Check whether the overloaded unary floating point function
+  /// Check whether the overloaded floating point function
   /// corresponding to \a Ty is available.
   bool hasFloatFn(const TargetLibraryInfo *TLI, Type *Ty,
                   LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn);
 
-  /// Get the name of the overloaded unary floating point function
+  /// Get the name of the overloaded floating point function
   /// corresponding to \a Ty.
   StringRef getFloatFnName(const TargetLibraryInfo *TLI, Type *Ty,
                            LibFunc DoubleFn, LibFunc FloatFn,




More information about the llvm-commits mailing list