tree-ssa-dom.c (edge_info::record_simple_equiv): Call derive_equivalences.
authorJeff Law <law@redhat.com>
Tue, 29 Aug 2017 05:03:36 +0000 (23:03 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 29 Aug 2017 05:03:36 +0000 (23:03 -0600)
commit14d6281388bad11de8c328be7ea825b184fc7efe
tree802fed8e9c969a046bce19e8b30ad8f48cde2916
parenta09f784a60ab1685b8711ae6820c77403fe6a299
tree-ssa-dom.c (edge_info::record_simple_equiv): Call derive_equivalences.

* tree-ssa-dom.c (edge_info::record_simple_equiv): Call
derive_equivalences.
(derive_equivalences_from_bit_ior, record_temporary_equivalences):
Code moved into....
(edge_info::derive_equivalences): New private member function

* gcc.dg/torture/pr57214.c: Fix type of loop counter.
* gcc.dg/tree-ssa/ssa-sink-16.c: Disable DOM.
* gcc.dg/tree-ssa/ssa-dom-thread-11.c: New test.
* gcc.dg/tree-ssa/ssa-dom-thread-12.c: New test.
* gcc.dg/tree-ssa/ssa-dom-thread-13.c: New test.
* gcc.dg/tree-ssa/ssa-dom-thread-14.c: New test.
* gcc.dg/tree-ssa/ssa-dom-thread-15.c: New test.
* gcc.dg/tree-ssa/ssa-dom-thread-16.c: New test.
* gcc.dg/tree-ssa/ssa-dom-thread-17.c: New test.

From-SVN: r251397
12 files changed:
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr57214.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-11.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-12.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-13.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-14.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-15.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-16.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-17.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-sink-16.c
gcc/tree-ssa-dom.c