Skip to content
Commit 17af66a6 authored by Jakub Staszak's avatar Jakub Staszak
Browse files

Add Zero Heurestics to BranchProbabilityInfo. If we compare value to zero we

decide whether condition is likely to be true this way:

x == 0  ->  false
x <  0  ->  false
x <= 0  ->  false
x != 0  ->  true
x >  0  ->  true
x >= 0  ->  true

llvm-svn: 136583
parent 99d53ff4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment