diff --git a/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/lib/Transforms/Scalar/SimplifyLibCalls.cpp index 0c08c5e9228..54eaada3e43 100644 --- a/lib/Transforms/Scalar/SimplifyLibCalls.cpp +++ b/lib/Transforms/Scalar/SimplifyLibCalls.cpp @@ -1251,7 +1251,7 @@ struct SPrintFOpt : public LibCallOptimization { return V; } - // sprintf(str, format, ...) -> iprintf(str, format, ...) if no floating + // sprintf(str, format, ...) -> siprintf(str, format, ...) if no floating // point arguments. if (TLI->has(LibFunc::siprintf) && !CallHasFloatingPointArgument(CI)) { Module *M = B.GetInsertBlock()->getParent()->getParent();