diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-24 13:50:56 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-24 13:50:56 +0000 |
commit | 812da49172d19efed8dadf4edc0f17c6a29e7f10 (patch) | |
tree | 10963e766905a3e0e04c1f15c71538bbddc9bf25 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 7111f4564cf32410227255e7817c486d30d49fd7 (diff) | |
download | bcm5719-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