[PATCH][PR tree-optimization/69270] Exploit VRP information in DOM
authorJeff Law <law@redhat.com>
Thu, 14 Jan 2016 07:38:18 +0000 (00:38 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 14 Jan 2016 07:38:18 +0000 (00:38 -0700)
commit947c2ce56cf736fb2c48ad3d777e7c352585ce16
treee2d540323b0a78d1cf4ebeecd230feb41d5aded8
parent19860f48c4f999240d1b14278b6756cb6e614c80
[PATCH][PR tree-optimization/69270] Exploit VRP information in DOM

PR tree-optimization/69270
* tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
(record_edge_info): Use it.  Convert boolean_{true,false}_node
to the type of op0.

PR tree-optimization/69270
* gcc.dg/tree-ssa/pr69270.c: New test.

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