[PATCH] tree-optimization/103464 - Also pre-process PHIs in range-of-stmt.
Andrew MacLeod
amacleod@redhat.com
Tue Nov 30 14:33:14 GMT 2021
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 do phis is quite nominal, and resolve this testcase... so
we might as well do PHIs as well.
Bootstrapped on x86_64-pc-linux-gnu with no regressions. OK?
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 464.diff
Type: text/x-patch
Size: 2058 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211130/0e28889e/attachment.bin>
More information about the Gcc-patches
mailing list