tree-ssa-dom.c (build_and_record_new_cond): Add optional parameter to record a condit...
authorRichard Biener <rguenther@suse.de>
Thu, 2 Jul 2015 07:37:35 +0000 (07:37 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 2 Jul 2015 07:37:35 +0000 (07:37 +0000)
commita003896684c5b8269eed6b472c2b35fe238294bc
treeda79f9f2b5d7561937a823eb7a573eb0f7aec873
parent53ac92c3e040789d34c7aabf4f2a98709de47c17
tree-ssa-dom.c (build_and_record_new_cond): Add optional parameter to record a condition that is false.

2015-07-02  Richard Biener  <rguenther@suse.de>

* tree-ssa-dom.c (build_and_record_new_cond): Add optional
parameter to record a condition that is false.
(record_conditions): When recording an extra NE_EXPR that is
true also record a EQ_EXPR that is false.

* gcc.dg/tree-ssa/ssa-dom-cse-4.c: New testcase.

From-SVN: r225299
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-4.c [new file with mode: 0644]
gcc/tree-ssa-dom.c