Add back commit r210029.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 2 Jun 2014 22:01:04 +0000 (22:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 2 Jun 2014 22:01:04 +0000 (22:01 +0000)
commitd1a2c2d90599055b920052c98132323c08e5f72e
tree2d7353dcafabe49b53829a55732af736663c2773
parent4bd024d4e8b852c0e088a30610368a330a9d722b
Add back commit r210029.

The code was actually correct. Sorry for the confusion. I have expanded the
comment saying why the analysis is valid to avoid me misunderstaning it
again in the future.

llvm-svn: 210052
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/test/Transforms/InstCombine/cast.ll
llvm/test/Transforms/InstCombine/ffs-1.ll
llvm/test/Transforms/InstCombine/rem.ll
llvm/test/Transforms/InstCombine/select.ll
llvm/test/Transforms/InstCombine/sext.ll
llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll