]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Adjust jump threading test expectation
authorAndrew Carlotti <andrew.carlotti@arm.com>
Fri, 1 Nov 2024 17:27:38 +0000 (17:27 +0000)
committerAndrew Carlotti <andrew.carlotti@arm.com>
Tue, 12 Nov 2024 14:58:04 +0000 (14:58 +0000)
commitf72f8c34952fe27795fc750e80cb78b97b51fa97
tree1c5e6c2ef5ed3b81b919a403f644e179e3f379eb
parent95305c800b1b3263534fdf67b63609772ecbb78d
testsuite: Adjust jump threading test expectation

This test started failing on aarch64 after 0cfc9c95 in 2023 ("Phi
analyzer - Initialize with range instead of a tree.").

The only change visible in the pass dumps prior to thread2 is the upper
bounds of some ranges are reduced from +INF to 7, consistent with the
bitamsk information.  After thread2, there are changes in the control
flow, but only affecting edges that are obviously never taken (from
basic blocks 6 through 12).  These are cleaned up in the following pass,
but the final codegen remains different.

There isn't anything obviously wrong with the change in dump output, so
let's just update the test expectations (as has happened previously
here).

gcc/testsuite/ChangeLog:

PR tree-optimization/112376
* gcc.dg/tree-ssa/ssa-dom-thread-7.c: Update expectation.
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c