OSDN Git Service

Fix typo in comment.
authorRichard Osborne <richard@xmos.com>
Thu, 3 Mar 2011 14:21:22 +0000 (14:21 +0000)
committerRichard Osborne <richard@xmos.com>
Thu, 3 Mar 2011 14:21:22 +0000 (14:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126941 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SimplifyLibCalls.cpp

index 0c08c5e..54eaada 100644 (file)
@@ -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();