diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-05-02 11:03:02 -0700 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-05-02 14:46:38 -0700 |
commit | 8702ab1456eee07d07ac1a8bc005c690cf6dbcf0 (patch) | |
tree | 2cd109c6c13221725830d4245bcbdb0037b96a35 /gcc/tree-ssa-phiopt.cc | |
parent | 7cc33d12dca84befde69259a17fab8224e2e4025 (diff) | |
download | gcc-8702ab1456eee07d07ac1a8bc005c690cf6dbcf0.zip gcc-8702ab1456eee07d07ac1a8bc005c690cf6dbcf0.tar.gz gcc-8702ab1456eee07d07ac1a8bc005c690cf6dbcf0.tar.bz2 |
tree-optimization: [PR109702] MATCH: Fix a ? func(a) : N patterns
I accidently messed up these patterns so the comparison
against 0 and the arguments was not matching up when they
need to be.
I committed this as obvious after a bootstrap/test on x86_64-linux-gnu
PR tree-optimization/109702
gcc/ChangeLog:
* match.pd: Fix "a != 0 ? FUNC(a) : CST" patterns
for FUNC of POPCOUNT BSWAP FFS PARITY CLZ and CTZ.
gcc/testsuite/ChangeLog:
* gcc.dg/tree-ssa/phi-opt-25b.c: New test.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions