[llvm-commits] [llvm] r168605 - /llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
Meador Inge
meadori at codesourcery.com
Mon Nov 26 12:37:23 PST 2012
Author: meadori
Date: Mon Nov 26 14:37:23 2012
New Revision: 168605
URL: http://llvm.org/viewvc/llvm-project?rev=168605&view=rev
Log:
Fix a comment bug in toascii simplifier
When I migrated the toascii simplifier in r168580 Benjamin Kramer noticed
a bug in one of the comments that I migrated.
Modified:
llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
Modified: llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp?rev=168605&r1=168604&r2=168605&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp Mon Nov 26 14:37:23 2012
@@ -1315,7 +1315,7 @@
!FT->getParamType(0)->isIntegerTy(32))
return 0;
- // isascii(c) -> c & 0x7f
+ // toascii(c) -> c & 0x7f
return B.CreateAnd(CI->getArgOperand(0),
ConstantInt::get(CI->getType(),0x7F));
}
More information about the llvm-commits
mailing list