Revert "[InstCombine] Rephrase fix to SimplifyWithOpReplaced"
authorRenato Golin <renato.golin@linaro.org>
Fri, 5 Jun 2015 18:24:12 +0000 (18:24 +0000)
committerRenato Golin <renato.golin@linaro.org>
Fri, 5 Jun 2015 18:24:12 +0000 (18:24 +0000)
commitb539fba9d7a2d826579cd9386b1840fb04130ba6
treeb55b0db4bf919c7bdd027a868aa1ecdb5fba20dc
parentaa4466db93ffb27d11d500b5fbfbcc731452137d
Revert "[InstCombine] Rephrase fix to SimplifyWithOpReplaced"

This reverts commit r239141. This commit was an attempt to reintroduce
a previous patch that broke many self-hosting bots with clang timeouts,
but it still has slowdown issues, at least  on ARM, increasing the
compilation time (stage 2, clang's) by 5x.

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