expr.c (get_def_for_expr_class): New function.
authorAndrew Pinski <apinski@cavium.com>
Fri, 4 May 2012 21:03:27 +0000 (21:03 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 4 May 2012 21:03:27 +0000 (14:03 -0700)
commit683c600b1fb53494c3cdcde83da5b3cb518cfa70
tree3514748acd1c941bb75eb1e8f2c7717dee5d2b64
parent417232534c60b32da5f064631974dbcb9c70bf05
expr.c (get_def_for_expr_class): New function.

2012-05-04  Andrew Pinski  <apinski@cavium.com>

* expr.c (get_def_for_expr_class): New function.
(convert_tree_comp_to_rtx): New function.
(expand_cond_expr_using_cmove): New function.
(expand_expr_real_2 <case COND_EXPR>): Call
expand_cond_expr_using_cmove first and return if it succeeds.
Remove the check for HAVE_conditional_move since we should have
already converted it to a conditional move.
* config/i386/i386.c (ix86_expand_int_movcc): Disallow comparison
modes of DImode for 32bits and TImode.

From-SVN: r187183
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/expr.c