This is a fix for https://bugs.llvm.org/show_bug.cgi?id=32911
In the code below the division result should be a value between 5 and 25.
if (a >= 10 && a <= 50) { int b = a / 2; }
This patch will calculate results for additions, subtractions and divisions.
I intentionally do not try to handle all possible cases that can be handled. I want to know if my approach is ok.