summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/DeserializeAPInt.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-18 18:43:12 +0000
committerDan Gohman <gohman@apple.com>2008-07-18 18:43:12 +0000
commit5a11abaf2c21e203acaedea37ebd151fa1124d89 (patch)
tree80fef8e3543f00e135f5bb7a2520bc59b1706d5c /lib/Bitcode/Reader/DeserializeAPInt.cpp
parentfa82857e413578c35b39f5dc1e7ea8525e02e6bf (diff)
downloadllvm-5a11abaf2c21e203acaedea37ebd151fa1124d89.tar.gz
llvm-5a11abaf2c21e203acaedea37ebd151fa1124d89.tar.bz2
llvm-5a11abaf2c21e203acaedea37ebd151fa1124d89.tar.xz
In the CBackend, use casts to force integer add, subtract, and
multiply to be done as unsigned, so that they have well defined behavior on overflow. This fixes PR2408. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/DeserializeAPInt.cpp')
0 files changed, 0 insertions, 0 deletions