]> gcc.gnu.org Git - gcc.git/commit
tree-ssa-phiopt.c (conditional_replacement): Replace PHIs whose arguments are -1...
authorPaolo Bonzini <bonzini@gnu.org>
Fri, 27 Apr 2012 12:20:01 +0000 (12:20 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Fri, 27 Apr 2012 12:20:01 +0000 (12:20 +0000)
commit809c929ccfeb2dfb3fdd19fd3bf5e540c778b4bc
tree50dc39dd31ef6d29a1116c582f05d381a88fc900
parentd5548709911e5961c5cfbd4c32002815d98bc694
tree-ssa-phiopt.c (conditional_replacement): Replace PHIs whose arguments are -1 and 0...

2012-04-27  Paolo Bonzini  <bonzini@gnu.org>

* tree-ssa-phiopt.c (conditional_replacement): Replace PHIs
whose arguments are -1 and 0, by negating the result of the
conditional.

testsuite:
2012-04-27  Paolo Bonzini  <bonzini@gnu.org>

* gcc.c-torture/execute/20120427-2.c: New testcase.
* gcc.dg/tree-ssa/phi-opt-10.c: New testcase.
* gcc.dg/tree-ssa/ssa-pre-28.c: Bypass new optimization.
* gcc.dg/tree-ssa/ssa-ifcombine-7.c: Look into ifcombine dump.

From-SVN: r186905
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20120427-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/phi-opt-10.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-7.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-28.c
gcc/tree-ssa-phiopt.c
This page took 0.066052 seconds and 5 git commands to generate.