[llvm-commits] [llvm] r118378 - in /llvm/trunk: lib/Analysis/InstructionSimplify.cpp lib/Target/README.txt test/Transforms/InstCombine/select.ll
Benjamin Kramer
benny.kra at googlemail.com
Wed Nov 10 10:18:10 PST 2010
On 10.11.2010, at 18:31, Duncan Sands wrote:
> Hi Benjamin,
>
>>> Author: baldrick
>>> Date: Sun Nov 7 10:12:23 2010
>>> New Revision: 118378
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=118378&view=rev
>>> Log:
>>> 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.
>>
>> Awesome! Should we do the same thing on phi nodes where an icmp
>> on all incoming values yields the same result?
>
> how about this?
Looks good to me.
More information about the llvm-commits
mailing list