Re: [PATCH] tree-optimization/103464 - Also pre-process PHIs in range-of-stmt.

2021-12-01 Thread Richard Biener via Gcc-patches
On Tue, Nov 30, 2021 at 3:35 PM Andrew MacLeod via Gcc-patches wrote: > > When I flatten the call stack for range_of_stmt in PR 103231 ( > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103231 ), I mention that I > was only flattening it for chains of statements with range handlers. If > it turned o

[PATCH] tree-optimization/103464 - Also pre-process PHIs in range-of-stmt.

2021-11-30 Thread Andrew MacLeod via Gcc-patches
When I flatten the call stack for range_of_stmt in PR 103231 ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103231 ), I mention that I was only flattening it for chains of statements with range handlers. If it turned out that PHI chaining was also a problem, we could also do PHIs. The cost to