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.

llvm-svn: 168605
This commit is contained in:
Meador Inge 2012-11-26 20:37:23 +00:00
parent 08ca115abd
commit efe2393113
1 changed files with 1 additions and 1 deletions

View File

@ -1315,7 +1315,7 @@ struct ToAsciiOpt : public LibCallOptimization {
!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));
}