This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] PATCH to gimplify_boolean_expr
On Mon, 25 Aug 2003 15:15:04 -0400, Daniel Berlin <dberlin@dberlin.org> wrote:
> If you do this, it means we won't hoist the comparison out loops, because
> we don't hoist control statements (cause it's much trickier in our current
> representation)
I've been playing with just requiring a val for if conditions in order to
avoid redundancy, but that breaks a lot of RTL optimizations. When we're
ready, it's a simple matter of changing "is_gimple_condexpr" to
"is_gimple_val" in gimplify_cond_expr; feel free to try it out.
WRT this specific patch, I don't think it makes sense to handle the && case
differently from the general if case.
Jason