https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115120
--- Comment #6 from Richard Biener ---
(In reply to Tamar Christina from comment #5)
> considering ivopts bails out on doloop prediction for multiple exits anyway,
> what do you think about:
>
> diff --git a/gcc/tree-ssa-loop-ivcanon.cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115120
--- Comment #5 from Tamar Christina ---
considering ivopts bails out on doloop prediction for multiple exits anyway,
what do you think about:
diff --git a/gcc/tree-ssa-loop-ivcanon.cc b/gcc/tree-ssa-loop-ivcanon.cc
index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115120
--- Comment #4 from Tamar Christina ---
You asked why this doesn't happen with a normal vector loop Richi.
For a normal loop when IVcannon adds the downward counting loop there are two
main differences.
1. for a single exit loop, the downward
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115120
--- Comment #3 from Tamar Christina ---
That makes sense, though I also wonder how it works for scalar multi exit
loops, IVops has various checks on single exits.
I guess one problem is that the code in IVops that does this uses the exit to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115120
--- Comment #2 from Richard Biener ---
That said, looking into IVOPTs and making it detect vector IVs would be nice
as well.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115120
Richard Biener changed:
What|Removed |Added
Blocks||53947
Ever confirmed|0