| commit | cea6559f602392b5be5d2c20e3bc5dc00d067e51 | [log] [tgz] |
|---|---|---|
| author | Reid Spencer <rspencer@reidspencer.com> | Wed May 04 18:58:28 2005 +0000 |
| committer | Reid Spencer <rspencer@reidspencer.com> | Wed May 04 18:58:28 2005 +0000 |
| tree | c85646dcda64e908009d94f3570578e64add8bce | |
| 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