[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
Sun Nov 7 10:02:13 PST 2010


On 07.11.2010, at 17:12, Duncan Sands wrote:

> 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?



More information about the llvm-commits mailing list