[llvm-commits] [llvm] r118378 - in /llvm/trunk: lib/Analysis/InstructionSimplify.cpp lib/Target/README.txt test/Transforms/InstCombine/select.ll
Duncan Sands
baldrick at free.fr
Wed Nov 10 09:31:25 PST 2010
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?
Ciao,
Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phi.diff
Type: text/x-patch
Size: 16309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101110/ec6f3ee3/attachment.bin>
More information about the llvm-commits
mailing list