diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-26 01:20:59 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-26 01:20:59 +0000 |
| commit | 5aa8560eab54449ec7547e70656ef7f221aa53a5 (patch) | |
| tree | 35d36d9cad233211f8e8fa3915be914517cafb1d /llvm/lib/Analysis/InstCount.cpp | |
| parent | 44eef169fa76073a4ef355423af0d6af3fc0f665 (diff) | |
| download | bcm5719-llvm-5aa8560eab54449ec7547e70656ef7f221aa53a5.tar.gz bcm5719-llvm-5aa8560eab54449ec7547e70656ef7f221aa53a5.zip | |
Add an isNegative method to determine if the APInt's value is negative.
This is much less expensive than a test against zero.
llvm-svn: 34619
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
0 files changed, 0 insertions, 0 deletions

