summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2011-03-03 14:21:22 +0000
committerRichard Osborne <richard@xmos.com>2011-03-03 14:21:22 +0000
commitea2578c63ffe09d030ed5520b6b82f7cc0026340 (patch)
tree9a57a593acbfa8399d09fe7872bf5b44d8816585 /lib/Transforms
parent022708f221e2a9ea1a42c07c7cd7817a8de881dc (diff)
downloadllvm-ea2578c63ffe09d030ed5520b6b82f7cc0026340.tar.gz
llvm-ea2578c63ffe09d030ed5520b6b82f7cc0026340.tar.bz2
llvm-ea2578c63ffe09d030ed5520b6b82f7cc0026340.tar.xz
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/SimplifyLibCalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/lib/Transforms/Scalar/SimplifyLibCalls.cpp
index 0c08c5e922..54eaada3e4 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();