This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lno] [RFC] if-conversion and auto vectorizer
- From: Chris Lattner <sabre at nondot dot org>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc at gcc dot gnu dot org, Diego Novillo <dnovillo at redhat dot com>,Devang Patel <dpatel at apple dot com>
- Date: Mon, 15 Mar 2004 21:49:39 -0600 (CST)
- Subject: Re: [lno] [RFC] if-conversion and auto vectorizer
Richard Henderson wrote:
> This mere fact might argue for the creation of a boolean temporary for
> the comparison.
FWIW, this is exactly what we do in LLVM (all binary branches and select
instructions require a boolean argument, not a conditional). Also,
amusingly we have a select instruction that acts exactly as was described
and even has the same name, though I do know you chose to use "COND_EXPR"
as the name in the end.
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/