[Bug tree-optimization/107009] [13 Regression] massive unnecessary code blowup in vectorizer

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 22 20:03:17 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107009

--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #1)
> Looks like it was caused by r13-1268-g8c99e307b20c50:
> 
> commit 8c99e307b20c502e55c425897fb3884ba8f05882
> Author: Aldy Hernandez <aldyh@redhat.com>
> Date:   Sat Jun 25 18:58:02 2022 -0400
> 
>     Convert DOM to use Ranger rather than EVRP

Note that this patch is usually a red herring. It makes DOM smarter by
improving its copy propagation and threading capabilities. And when DOM is
done, it will export whatever global ranges it discovered to other passes. Any
number of these things could cause the vectorizer to make different decisions.

I'll take a look tomorrow though.


More information about the Gcc-bugs mailing list