[llvm-commits] [llvm] r126744 - in /llvm/trunk: lib/Transforms/InstCombine/InstCombineAndOrXor.cpp test/Transforms/InstCombine/and2.ll

Frits van Bommel fvbommel at gmail.com
Tue Mar 1 08:59:44 PST 2011


On Tue, Mar 1, 2011 at 4:05 PM, Anders Carlsson <andersca at mac.com> wrote:
> Log:
> Make InstCombiner::FoldAndOfICmps create a ConstantRange that's the
> intersection of the LHS and RHS ConstantRanges and return "false" when
> the range is empty.
>
> This simplifies some code and catches some extra cases.

This could be in SimplifyInstruction(), right?



More information about the llvm-commits mailing list