Remove inefficient branchless conditional negate optimization
authorWilco Dijkstra <wdijkstr@arm.com>
Fri, 6 Mar 2015 16:35:30 +0000 (16:35 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Fri, 6 Mar 2015 16:35:30 +0000 (16:35 +0000)
commit268cb4b37396cda46ef32862900c0b878b41991f
tree111df7de9b826cec41098784818c97eca99f054e
parentc271e224c2e6bcda1068754def0b0cfd6a2b2958
Remove inefficient branchless conditional negate optimization

2015-03-06  Wilco Dijkstra  <wdijkstr@arm.com>

  gcc/
    * tree-ssa-phiopt.c (neg_replacement): Remove.
    (tree_ssa_phiopt_worker): Remove negate optimization.

  gcc/testsuite/
    * gcc.dg/tree-ssa/pr45685.c: Move to gcc.target/i386.
    * gcc.target/aarch64/csneg-1.c (test_csneg_cmp): New test.
    * gcc.target/i386/pr45685.c: Moved test, check for conditional move on x64.

From-SVN: r221246
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr45685.c [deleted file]
gcc/testsuite/gcc.target/aarch64/csneg-1.c
gcc/testsuite/gcc.target/i386/pr45685.c [new file with mode: 0644]
gcc/tree-ssa-phiopt.c