summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ConstantRange.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2012-07-23 20:24:23 +0000
committerRichard Trieu <rtrieu@google.com>2012-07-23 20:24:23 +0000
commit1feac1cef9bba99d0832eac9a58084cb90c669d8 (patch)
tree29f81c1376bb3172b1d27dbb88f3e13001ab96e3 /llvm/lib/Support/ConstantRange.cpp
parentc320c745ccd411caa9afa776bf51548b758bf4fe (diff)
downloadbcm5719-llvm-1feac1cef9bba99d0832eac9a58084cb90c669d8.tar.gz
bcm5719-llvm-1feac1cef9bba99d0832eac9a58084cb90c669d8.zip
Add operator== to APSInt. This will compare the signed bit before doing
the comparison. This prevents large unsigned integers from being equal to signed negative integers of the same bit width. llvm-svn: 160642
Diffstat (limited to 'llvm/lib/Support/ConstantRange.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud