re PR tree-optimization/66726 (missed optimization, factor conversion out of COND_EXPR)
authorKugan Vivekanandarajah <kuganv@linaro.org>
Sun, 12 Jul 2015 11:22:42 +0000 (11:22 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Sun, 12 Jul 2015 11:22:42 +0000 (11:22 +0000)
commit9844173510418bfd505c1022de7105c4fa4dd906
tree92b0d0d5684ccad1ea32bc354f7c394dbd0bf8d5
parent7f7379f6f4f28376ac4fa9a807217f1fec2488fc
re PR tree-optimization/66726 (missed optimization, factor conversion out of COND_EXPR)

gcc/testsuite/ChangeLog:

2015-07-12  Kugan Vivekanandarajah  <kuganv@linaro.org>
    Jeff Law  <law@redhat.com>

PR middle-end/66726
* g++.dg/tree-ssa/pr66726.c: New test.
* gcc.dg/tree-ssa/pr66726-2.c: New test.
* gcc.dg/tree-ssa/pr66726.c: New test.

gcc/ChangeLog:

2015-07-12  Kugan Vivekanandarajah  <kuganv@linaro.org>

PR middle-end/66726
* tree-ssa-phiopt.c(factor_out_conditional_conversion): New function.
tree_ssa_phiopt_worker): Call it.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r225722
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr66726.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr66726-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr66726.c [new file with mode: 0644]
gcc/tree-ssa-phiopt.c