summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackSlotColoring.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
commitaf200e9237cd81fbcba7080057d493941952835c (patch)
treee3654c3ea8da486bbfad2de99d1585bfc1a632c4 /llvm/lib/CodeGen/StackSlotColoring.cpp
parentbd0f57821a7326716db85236ba93bd1c9dc44d28 (diff)
downloadbcm5719-llvm-af200e9237cd81fbcba7080057d493941952835c.tar.gz
bcm5719-llvm-af200e9237cd81fbcba7080057d493941952835c.zip
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. llvm-svn: 60278
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud