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 | 282d0574853532d2edee110d2da3cd6a2d1e18c7 (patch) | |
| tree | 3e13073fa3873f8db0a4ab5c6726ff144690d902 /llvm/lib/Target/Alpha/AlphaISelPattern.cpp | |
| parent | f9a4a9681d7f30441132cb6833316f362cf7e9c7 (diff) | |
| download | bcm5719-llvm-282d0574853532d2edee110d2da3cd6a2d1e18c7.tar.gz bcm5719-llvm-282d0574853532d2edee110d2da3cd6a2d1e18c7.zip | |
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
llvm-svn: 21688
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaISelPattern.cpp')
0 files changed, 0 insertions, 0 deletions

