summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-10-24 13:50:56 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-10-24 13:50:56 +0000
commit812da49172d19efed8dadf4edc0f17c6a29e7f10 (patch)
tree10963e766905a3e0e04c1f15c71538bbddc9bf25 /clang/lib/CodeGen/CodeGenFunction.cpp
parent7111f4564cf32410227255e7817c486d30d49fd7 (diff)
downloadbcm5719-llvm-812da49172d19efed8dadf4edc0f17c6a29e7f10.tar.gz
bcm5719-llvm-812da49172d19efed8dadf4edc0f17c6a29e7f10.zip
Implement comparison operators for BranchProbability in a way that can't overflow INT64_MAX.
Add a test case for the edge case that triggers this. Thanks to Chandler for bringing this to my attention. llvm-svn: 142794
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud