Revert r228556: InstCombine: propagate nonNull through assume
authorChandler Carruth <chandlerc@gmail.com>
Tue, 10 Feb 2015 08:07:32 +0000 (08:07 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 10 Feb 2015 08:07:32 +0000 (08:07 +0000)
commit3e77df419d70e01fdfdb71bd89dbefa5ae220a55
treee9658f59a6b1899a47b6f81d5a00171710a4c0f9
parente65664e90da84395a0b6e65d7bd393a1e8a63533
Revert r228556: InstCombine: propagate nonNull through assume

This commit isn't using the correct context, and is transfoming calls
that are operands to loads rather than calls that are operands to an
icmp feeding into an assume. I've replied on the original review thread
with a very reduced test case and some thoughts on how to rework this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228677 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/assume.ll