aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-30 05:01:05 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-30 05:01:05 +0000
commitf0e44c4d7afeb91f309ff277de83e3d9ce27e37f (patch)
treed0701269fd0842f8d8836012164ab7b7fb8a05f2 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent86f874d9bb3722e81381e832eb4c867f562e308c (diff)
From Hacker's Delight:
"For signed integers, the determination of overflow of x*y is not so simple. If x and y have the same sign, then overflow occurs iff xy > 2**31 - 1. If they have opposite signs, then overflow occurs iff xy < -2**31." In this case, x == -1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions