[Bug tree-optimization/126946] [14/15/16/17 Regression] Phiopt lengthening dependency chain in loop for MIN/MAX operations

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126946

--- Comment #7 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Note LLVM produces the exactly the same code generation ...

Also this seems similar to PR 118505 . It is going to be hard to always to know
if the data is truely random vs having a large value early and then not needing
to take the branch. So I think this is more of just accidental choices.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.