apply unary op to both sides of (vec_cond x cst1 cst2)
authorMarc Glisse <marc.glisse@inria.fr>
Fri, 31 May 2019 17:04:20 +0000 (19:04 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Fri, 31 May 2019 17:04:20 +0000 (17:04 +0000)
commit34a13a521e3fc6f46fcaf2f158d20e66874e99fd
tree62c4a9ad91508bf62cd56b389a0d893bf0a9e034
parent9cf60d3b0d793fbd3b97aa0163b44a5c0c4e9aa3
apply unary op to both sides of (vec_cond x cst1 cst2)

2019-05-31  Marc Glisse  <marc.glisse@inria.fr>

gcc/
* match.pd (~(vec?cst1:cst2)): New transformation.

gcc/testsuite/
* g++.dg/tree-ssa/cprop-vcond.C: New file.

From-SVN: r271817
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/cprop-vcond.C [new file with mode: 0644]