diff options
author | Aditya Kumar <aditya.k7@samsung.com> | 2015-08-24 20:50:12 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2015-08-24 20:50:12 +0000 |
commit | 9ead801e4deaf9e460b1226ec5f07710e8cb6078 (patch) | |
tree | 72dfbc5a432207e1466ac594188868628ae0abad /gcc/graphite-scop-detection.c | |
parent | 41e4e5edce30e6340a8e42e26a19adb2418055c5 (diff) | |
download | gcc-9ead801e4deaf9e460b1226ec5f07710e8cb6078.zip gcc-9ead801e4deaf9e460b1226ec5f07710e8cb6078.tar.gz gcc-9ead801e4deaf9e460b1226ec5f07710e8cb6078.tar.bz2 |
Constrain only on INTEGER_TYPE
Passes bootstrap, no regressions.
With this patch gcc bootstraps with graphite.
make BOOT_CFLAGS="-g -O2 -fgraphite-identity -floop-interchange -floop-block"
gcc/ChangeLog:
2015-08-12 Aditya Kumar <hiraditya@msn.com>
* graphite-scop-detection.c (stmt_simple_for_scop_p):
Constrain only on INTEGER_TYPE
From-SVN: r227150
Diffstat (limited to 'gcc/graphite-scop-detection.c')
-rw-r--r-- | gcc/graphite-scop-detection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c index b2a4aaf..dbd9842 100644 --- a/gcc/graphite-scop-detection.c +++ b/gcc/graphite-scop-detection.c @@ -409,8 +409,8 @@ stmt_simple_for_scop_p (basic_block scop_entry, loop_p outermost_loop, { tree op = gimple_op (stmt, i); if (!graphite_can_represent_expr (scop_entry, loop, op) - /* We can not handle REAL_TYPE. Failed for pr39260. */ - || TREE_CODE (TREE_TYPE (op)) == REAL_TYPE) + /* We can only constrain on integer type. */ + || (TREE_CODE (TREE_TYPE (op)) != INTEGER_TYPE)) { if (dump_file && (dump_flags & TDF_DETAILS)) { |