aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-26 01:20:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-26 01:20:59 +0000
commitdcffd5c3d90f295c90bc211a9c402e1fc18f8b12 (patch)
treec46b36acb6cade62ce2a2bcf4dc539f63b5a5421 /lib/Support/APInt.cpp
parentba81c2b87163d2dbc3c26d5bf12850d841173b64 (diff)
Add an isNegative method to determine if the APInt's value is negative.
This is much less expensive than a test against zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions