[PATCH] [InstCombine] Fix wrong folding of constant comparisons involving ashr and negative values (PR21222).
suyog.sarda at samsung.com
Thu Oct 9 05:12:45 PDT 2014
Thanks for investigating and fixing the bug.
I agree with your point that distance should be calculated using one's compliment
instead of two's compliment.
More information about the llvm-commits