]> gcc.gnu.org Git - gcc.git/commit
Add alternative testcase of phi-opt-25.c that tests phiopt
authorAndrew Pinski <apinski@marvell.com>
Tue, 25 Apr 2023 00:17:27 +0000 (17:17 -0700)
committerAndrew Pinski <apinski@marvell.com>
Tue, 25 Apr 2023 00:25:08 +0000 (17:25 -0700)
commit966bd96ff78ccf29f37acc6d1fbce50fb96b7836
treefd1b513d0b7d5a2ebb95f1ed1dd3004d9b3a2dc0
parentaeaf942699cc2eecce34e1f55eba6a177644b73e
Add alternative testcase of phi-opt-25.c that tests phiopt

Right now phi-opt-25.c has tests like `a ? func(a) : CST`
but if we add the simplifications to match.pd, then phi-opt-25.c
will no longer be testing phiopt to make sure these get optimized.
So this adds an alternative version which is designed to test
phiopt.

Committed as obvious after testing the testcase to make sure it does not
fail on x86_64-linux-gnu.

Thanks,
Andrew Pinski

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/phi-opt-25a.c: New test.
gcc/testsuite/gcc.dg/tree-ssa/phi-opt-25a.c [new file with mode: 0644]
This page took 0.071428 seconds and 6 git commands to generate.