This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42720] Problematic condition simplification logic at unswitch-loops pass
- From: "jingyu at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2010 23:33:43 -0000
- Subject: [Bug tree-optimization/42720] Problematic condition simplification logic at unswitch-loops pass
- References: <bug-42720-17567@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from jingyu at google dot com 2010-01-30 23:33 -------
Subject: Re: Problematic condition
simplification logic at unswitch-loops pass
> I agree that some of the checks in tree_unswitch_single_loop are badly placed
> -- it does not make sense to check them repeatedly in the recursion. ?I'd
> suggest to move them to tree_ssa_unswitch_loops, i.e.,
>
I agree on this modification. Theses three checks only need to be checked once.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42720