re PR tree-optimization/89430 (A missing ifcvt optimization to generate csel)
authorJiangning Liu <jiangning.liu@amperecomputing.com>
Fri, 12 Jul 2019 16:28:43 +0000 (16:28 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 12 Jul 2019 16:28:43 +0000 (10:28 -0600)
commitb9ef6a2e04bfd01329902781818ef80c52cd8b97
tree3dca3e0cf4359649c3f8099529fdd094c137be5b
parentb979ca0ffdef2d2dee63301906db852bdf087db4
re PR tree-optimization/89430 (A missing ifcvt optimization to generate csel)

2019-07-12  Jiangning Liu  <jiangning.liu@amperecomputing.com>

PR tree-optimization/89430
* tree-ssa-phiopt.c (cond_store_replacement): Support conditional
store elimination for local variable without address escape.

PR tree-optimization/89430
* gcc.dg/tree-ssa/pr89430-1.c: New test.
* gcc.dg/tree-ssa/pr89430-2.c: New test.
* gcc.dg/tree-ssa/pr89430-3.c: New test.
* gcc.dg/tree-ssa/pr89430-4.c: New test.
* gcc.dg/tree-ssa/pr89430-5.c: New test.
* gcc.dg/tree-ssa/pr89430-6.c: New test.

From-SVN: r273449
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr89430-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr89430-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr89430-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr89430-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr89430-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr89430-6.c [new file with mode: 0644]
gcc/tree-ssa-phiopt.c