projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a comment bug in toascii simplifier
[oota-llvm.git]
/
lib
/
Transforms
/
Utils
/
SimplifyLibCalls.cpp
diff --git
a/lib/Transforms/Utils/SimplifyLibCalls.cpp
b/lib/Transforms/Utils/SimplifyLibCalls.cpp
index 85de642b1adac77b77022154d0dfbee4fbd4d88a..2e494fd1bcf9f6e0c433d06af11834887d94bbaf 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyLibCalls.cpp
+++ b/
lib/Transforms/Utils/SimplifyLibCalls.cpp
@@
-1315,7
+1315,7
@@
struct ToAsciiOpt : public LibCallOptimization {
!FT->getParamType(0)->isIntegerTy(32))
return 0;
- //
is
ascii(c) -> c & 0x7f
+ //
to
ascii(c) -> c & 0x7f
return B.CreateAnd(CI->getArgOperand(0),
ConstantInt::get(CI->getType(),0x7F));
}