This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I was just scratching my head for the same reason. If I change BRANCH_EDGE, I would have to change FALLTHRU_EDGE to be complete. But then tree dump would look confusing; when the true arm appears to falls through in tree dump, we don't have EDGE_FALLTHRU_FLAG.
Let's go with Zdenek's first suggestion.
Let the caller pass the edge corresponding to the current BRANCH_EDGE (switch_bb) to loopify
By the way, tree_ssa_loop_version uses FALLTHRU_EDGE, so I guess I have to fix that.
- Devang
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |