Fix a README item: when doing a comparison with the result
authorDuncan Sands <baldrick@free.fr>
Sun, 7 Nov 2010 16:12:23 +0000 (16:12 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 7 Nov 2010 16:12:23 +0000 (16:12 +0000)
commit1ac7c9979a2d723ff4649ffad58df02732872a5f
tree76d668b4d76a61b22618b2b8d47ad89ecffea961
parente25e1ef48b029795fd03be13791e5d19834bd503
Fix a README item: when doing a comparison with the result
of a select instruction, see if doing the compare with the
true and false values of the select gives the same result.
If so, that can be used as the value of the comparison.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118378 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
lib/Target/README.txt
test/Transforms/InstCombine/select.ll