diff options
author | Aditya Kumar <aditya.k7@samsung.com> | 2015-10-21 18:53:35 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2015-10-21 18:53:35 +0000 |
commit | 77ec8b8c0f75a5f0b953e5dd6696e6b07253f21b (patch) | |
tree | e9fe19bfcb75c2f7c755a5ac577e0861c0c15e1c /libobjc | |
parent | caf5b4dfca050e8e93b1ee15705ab9c759854f40 (diff) | |
download | gcc-77ec8b8c0f75a5f0b953e5dd6696e6b07253f21b.zip gcc-77ec8b8c0f75a5f0b953e5dd6696e6b07253f21b.tar.gz gcc-77ec8b8c0f75a5f0b953e5dd6696e6b07253f21b.tar.bz2 |
avoid generation of empty guards in trivial cases
We used to insert a trivial integer_onep condition around loops we know have
more than an iteration. This patch avoids generating those conditions.
* graphite-isl-ast-to-gimple.c (graphite_create_new_loop_guard): Do not call
create_empty_if_region_on_edge when cond_expr is true.
(translate_isl_ast_node_for): Check whether a guard has been generated.
Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r229137
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions