Re: [PATCH][committed]middle-end slp: Don't traverse tree on (nil) nodes.

2021-02-26 Thread Richard Biener
On Thu, 25 Feb 2021, Tamar Christina wrote: > Hi All, > > The given testcase shows that one of the children of the complex MUL contains > a > PHI node. This results in the vectorizer having a child that's (nil). > > The pattern matcher handles this correctly, but optimize_load_redistribution_1

[PATCH][committed]middle-end slp: Don't traverse tree on (nil) nodes.

2021-02-25 Thread Tamar Christina via Gcc-patches
Hi All, The given testcase shows that one of the children of the complex MUL contains a PHI node. This results in the vectorizer having a child that's (nil). The pattern matcher handles this correctly, but optimize_load_redistribution_1 needs to not traverse/inspect the NULL nodes. This however