re PR tree-optimization/80520 (Performance regression from missing if-conversion)
authorJeff Law <law@redhat.com>
Tue, 11 Dec 2018 04:56:54 +0000 (21:56 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 11 Dec 2018 04:56:54 +0000 (21:56 -0700)
commit7b1ff60122fda6e106e54b792713f8eb16424cf2
tree09cffab5c6b9261ef9dc7e5e720905d5a37b2f04
parent72cfde41e5fddeeb3463a358e66d2c033cbfe20b
re PR tree-optimization/80520 (Performance regression from missing if-conversion)

PR tree-optimization/80520
* gimple-ssa-split-paths.c (is_feasible_trace): Recognize half
diamonds that are likely if convertable.

* gcc.dg/tree-ssa/split-path-5.c: Update expected output.
* gcc.dg/tree-ssa/split-path-11.c: New test.

From-SVN: r266971
gcc/ChangeLog
gcc/gimple-ssa-split-paths.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/split-path-11.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/split-path-5.c