diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-21 02:13:52 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-21 02:13:52 +0000 |
commit | de862e2f7989457e489d65fb528a573678c5bf6d (patch) | |
tree | 15f7c89c2d1f30f131ebeb04fae4637dee890f41 /gcc/graphite-isl-ast-to-gimple.c | |
parent | dc06f2949d25bf96bd55e44b9ba1d29170b23f00 (diff) | |
download | gcc-de862e2f7989457e489d65fb528a573678c5bf6d.tar.gz |
fix PR68976: only add loop close phi for names defined in loop
* graphite-isl-ast-to-gimple.c: Fix comment.
* graphite-scop-detection.c (defined_in_loop_p): New.
(canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
names defined in loop.
gcc/testsuite
* gcc.dg/graphite/pr68976.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232658 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-isl-ast-to-gimple.c')
-rw-r--r-- | gcc/graphite-isl-ast-to-gimple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/graphite-isl-ast-to-gimple.c b/gcc/graphite-isl-ast-to-gimple.c index 6c7fd19b76f..2f2daecfc05 100644 --- a/gcc/graphite-isl-ast-to-gimple.c +++ b/gcc/graphite-isl-ast-to-gimple.c @@ -507,8 +507,8 @@ private: /* Return the tree variable that corresponds to the given isl ast identifier expression (an isl_ast_expr of type isl_ast_expr_id). - FIXME: We should replace blind conversation of id's type with derivation - of the optimal type when we get the corresponding isl support. Blindly + FIXME: We should replace blind conversion of id's type with derivation + of the optimal type when we get the corresponding isl support. Blindly converting type sizes may be problematic when we switch to smaller types. */ |