]> git.ipfire.org Git - thirdparty/gcc.git/commit
vectorizer: Fix riscv build [PR120042]
authorAndrew Pinski <quic_apinski@quicinc.com>
Wed, 30 Apr 2025 22:10:29 +0000 (15:10 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Wed, 30 Apr 2025 22:14:42 +0000 (15:14 -0700)
commit299d48ff4a34c00a6ef964b694fb9b1312683049
tree292f851a0fa6f636e44cd0011143579f94956576
parent49d2c6ced2c894a8fe21ec0a21c1458cb3086ee8
vectorizer: Fix riscv build [PR120042]

r15-9859-ga6cfde60d8c added a call to dominated_by_p to tree-vectorizer.h
but dominance.h is not always included; and you get a build failure on riscv building
riscv-vector-costs.cc.

Let's add the include of dominance.h to tree-vectorizer.h

Pushed as obvious after builds for riscv and x86_64.

gcc/ChangeLog:

PR target/120042
* tree-vectorizer.h: Include dominance.h.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/tree-vectorizer.h