[llvm-commits] [llvm] r118378 - in /llvm/trunk: lib/Analysis/InstructionSimplify.cpp lib/Target/README.txt test/Transforms/InstCombine/select.ll
Frits van Bommel
fvbommel at gmail.com
Mon Nov 8 06:11:15 PST 2010
On Mon, Nov 8, 2010 at 2:38 PM, Duncan Sands <baldrick at free.fr> wrote:
> Another thing to consider is doing this "looking through select/phi"
> optimization for other instructions, and not just compares. For
> example for logical operations like "and". What do you think?
I'm pretty sure -instcombine already does things like this, at least
for bitwise operations like 'and' when combined with 'select' and many
other instructions (though it doesn't seem to handle 'phi'
instrutions).
More information about the llvm-commits
mailing list