[InstCombine] revert r339439 - rearrange code for foldSelectBinOpIdentity
authorSanjay Patel <spatel@rotateright.com>
Fri, 10 Aug 2018 16:12:19 +0000 (16:12 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 10 Aug 2018 16:12:19 +0000 (16:12 +0000)
commitc9cc86a5b31a0cb4600ca7ef31a266b6b4420afe
tree2449205eb640b8952f8ee3e51dbcfebcc601ef1e
parent5099835541374f9b59e3e7b600b88a97a02b02b5
[InstCombine] revert r339439 - rearrange code for foldSelectBinOpIdentity

That was supposed to be NFC, but it exposed a logic hole somewhere that
caused bots to fail.

llvm-svn: 339446
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp