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
|
@ -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>
|
2007-06-06 Nathan Froyd <froydnj@codesourcery.com>
|
||||||
|
|
||||||
* config/rs6000/rs6000.h (FIXED_SCRATCH): Use r0 as a scratch
|
* 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;
|
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:
|
default:
|
||||||
gcc_unreachable ();
|
gcc_unreachable ();
|
||||||
}
|
}
|
||||||
|
@ -1903,6 +1909,11 @@ supportable_narrowing_operation (enum tree_code code,
|
||||||
c1 = VEC_PACK_FIX_TRUNC_EXPR;
|
c1 = VEC_PACK_FIX_TRUNC_EXPR;
|
||||||
break;
|
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:
|
default:
|
||||||
gcc_unreachable ();
|
gcc_unreachable ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue