re PR tree-optimization/32215 (ICE in supportable_narrowing_operation, at tree-vectorizer.c:1907)
PR tree-optimization/32215 * tree-vectorizer.c (supportable_widening_operation): Return false for unsupported FIX_TRUNC_EXPR tree code. (supportable_narrowing_operation): Ditto for FLOAT_EXPR tree code. From-SVN: r125343
This commit is contained in:
parent
de8936774a
commit
1a5f8b894c
2 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-06-05 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR tree-optimization/32215
|
||||
* tree-vectorizer.c (supportable_widening_operation): Return false
|
||||
for unsupported FIX_TRUNC_EXPR tree code.
|
||||
(supportable_narrowing_operation): Ditto for FLOAT_EXPR tree code.
|
||||
|
||||
2007-06-06 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
* config/rs6000/rs6000.h (FIXED_SCRATCH): Use r0 as a scratch
|
||||
|
|
|
@ -1841,6 +1841,12 @@ supportable_widening_operation (enum tree_code code, tree stmt, tree vectype,
|
|||
}
|
||||
break;
|
||||
|
||||
case FIX_TRUNC_EXPR:
|
||||
/* ??? Not yet implemented due to missing VEC_UNPACK_FIX_TRUNC_HI_EXPR/
|
||||
VEC_UNPACK_FIX_TRUNC_LO_EXPR tree codes and optabs used for
|
||||
computing the operation. */
|
||||
return false;
|
||||
|
||||
default:
|
||||
gcc_unreachable ();
|
||||
}
|
||||
|
@ -1903,6 +1909,11 @@ supportable_narrowing_operation (enum tree_code code,
|
|||
c1 = VEC_PACK_FIX_TRUNC_EXPR;
|
||||
break;
|
||||
|
||||
case FLOAT_EXPR:
|
||||
/* ??? Not yet implemented due to missing VEC_PACK_FLOAT_EXPR
|
||||
tree code and optabs used for computing the operation. */
|
||||
return false;
|
||||
|
||||
default:
|
||||
gcc_unreachable ();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue