diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-04 18:58:28 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-04 18:58:28 +0000 |
commit | cea6559f602392b5be5d2c20e3bc5dc00d067e51 (patch) | |
tree | c85646dcda64e908009d94f3570578e64add8bce /lib/Target | |
parent | 3ec93c593c820b8626e4649fbbf41abb03a3a311 (diff) |
Implement the IsDigitOptimization for simplifying calls to the isdigit
library function:
isdigit(chr) -> 0 or 1 if chr is constant
isdigit(chr) -> chr - '0' <= 9 otherwise
Although there are many calls to isdigit in llvm-test, most of them are
compiled away by macros leaving only this:
2 MultiSource/Applications/hexxagon
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
0 files changed, 0 insertions, 0 deletions