]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-ssa-loop-prefetch.c
cuintp.c: Replace host_integerp (..., 0) with tree_fits_shwi_p throughout.
[thirdparty/gcc.git] / gcc / tree-ssa-loop-prefetch.c
index 0939541746e68719c1149f7984aaf2d0491ee94b..e00989527aa44081f097cb6e4bdd4112bfa67304 100644 (file)
@@ -1458,7 +1458,7 @@ add_subscript_strides (tree access_fn, unsigned stride,
       if ((unsigned) loop_depth (aloop) <= min_depth)
        continue;
 
-      if (host_integerp (step, 0))
+      if (tree_fits_shwi_p (step))
        astep = tree_low_cst (step, 0);
       else
        astep = L1_CACHE_LINE_SIZE;