Skip to content
Commit 282d0574 authored by Reid Spencer's avatar Reid Spencer
Browse files

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
parent f9a4a968
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment