re PR tree-optimization/88828 (Inefficient update of the first element of vector...
authorRichard Biener <rguenther@suse.de>
Tue, 14 May 2019 09:11:15 +0000 (09:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 14 May 2019 09:11:15 +0000 (09:11 +0000)
commit962372f9f853c582c879f11c0db14973cc8687e0
treeef30e0b7d85731711c60f9e78a158ffb7d2b1c4b
parenta52cf5cf278e4a9e58bfa2bb67a93244766a122f
re PR tree-optimization/88828 (Inefficient update of the first element of vector registers)

2019-05-14  Richard Biener  <rguenther@suse.de>
H.J. Lu  <hongjiu.lu@intel.com>

PR tree-optimization/88828
* tree-ssa-forwprop.c (simplify_vector_constructor): Handle
permuting in a single non-constant element not extracted
from a vector.

* gcc.target/i386/pr88828-1.c: New test.
* gcc.target/i386/pr88828-1a.c: Likewise.
* gcc.target/i386/pr88828-1b.c: Likewise.
* gcc.target/i386/pr88828-1c.c: Likewise.
* gcc.target/i386/pr88828-4a.c: Likewise.
* gcc.target/i386/pr88828-4b.c: Likewise.
* gcc.target/i386/pr88828-5a.c: Likewise.
* gcc.target/i386/pr88828-5b.c: Likewise.
* gcc.target/i386/pr88828-7.c: Likewise.
* gcc.target/i386/pr88828-7a.c: Likewise.
* gcc.target/i386/pr88828-7b.c: Likewise.
* gcc.target/i386/pr88828-8.c: Likewise.
* gcc.target/i386/pr88828-8a.c: Likewise.
* gcc.target/i386/pr88828-8b.c: Likewise.
* gcc.target/i386/pr88828-9.c: Likewise.
* gcc.target/i386/pr88828-9a.c: Likewise.
* gcc.target/i386/pr88828-9b.c: Likewise.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r271153
20 files changed:
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr88828-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-1a.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-1b.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-1c.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-4a.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-4b.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-5a.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-5b.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-7a.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-7b.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-8a.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-8b.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-9.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-9a.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr88828-9b.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c