diff options
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
-rw-r--r-- | gcc/tree-vect-data-refs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index 3800021..c424607 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -772,7 +772,7 @@ vect_compute_data_ref_alignment (struct data_reference *dr) /* Modulo alignment. */ misalign = size_binop (FLOOR_MOD_EXPR, misalign, alignment); - if (!host_integerp (misalign, 1)) + if (!tree_fits_uhwi_p (misalign)) { /* Negative or overflowed misalignment value. */ if (dump_enabled_p ()) @@ -960,7 +960,7 @@ vect_verify_datarefs_alignment (loop_vec_info loop_vinfo, bb_vec_info bb_vinfo) static bool not_size_aligned (tree exp) { - if (!host_integerp (TYPE_SIZE (TREE_TYPE (exp)), 1)) + if (!tree_fits_uhwi_p (TYPE_SIZE (TREE_TYPE (exp)))) return true; return (TREE_INT_CST_LOW (TYPE_SIZE (TREE_TYPE (exp))) @@ -2544,8 +2544,8 @@ vect_analyze_data_ref_accesses (loop_vec_info loop_vinfo, bb_vec_info bb_vinfo) /* Check that the data-refs have the same constant size and step. */ tree sza = TYPE_SIZE_UNIT (TREE_TYPE (DR_REF (dra))); tree szb = TYPE_SIZE_UNIT (TREE_TYPE (DR_REF (drb))); - if (!host_integerp (sza, 1) - || !host_integerp (szb, 1) + if (!tree_fits_uhwi_p (sza) + || !tree_fits_uhwi_p (szb) || !tree_int_cst_equal (sza, szb) || !tree_fits_shwi_p (DR_STEP (dra)) || !tree_fits_shwi_p (DR_STEP (drb)) @@ -3268,7 +3268,7 @@ again: STRIP_NOPS (off); if (TREE_CODE (DR_INIT (newdr)) == INTEGER_CST && TREE_CODE (off) == MULT_EXPR - && host_integerp (TREE_OPERAND (off, 1), 1)) + && tree_fits_uhwi_p (TREE_OPERAND (off, 1))) { tree step = TREE_OPERAND (off, 1); off = TREE_OPERAND (off, 0); |