[llvm-commits] [llvm] r163302 - in /llvm/trunk: lib/Transforms/Utils/SimplifyCFG.cpp test/Transforms/SimplifyCFG/switch_create.ll test/Transforms/SimplifyCFG/switch_to_lookup_table.ll

Nadav Rotem nrotem at apple.com
Mon Sep 10 01:37:57 PDT 2012


On Sep 10, 2012, at 11:18 AM, Duncan Sands <baldrick at free.fr> wrote:

> alternatively, how about removing the select instruction from the IR
> altogether?  Maybe "select" really belongs in codegen only...


I think that 'select' does belong in the IR.  It provides a nice abstraction for a commonly used pattern, and many optimizations rely on it.  Moreover, the vector variant of select is very important for vectorization (blending of values).  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120910/f0f83dbc/attachment.html>


More information about the llvm-commits mailing list