Simplify vec_select of a subreg of X to just a vec_select of X.
authorliuhongt <hongtao.liu@intel.com>
Tue, 13 Oct 2020 07:35:29 +0000 (15:35 +0800)
committerliuhongt <hongtao.liu@intel.com>
Thu, 22 Oct 2020 03:37:11 +0000 (11:37 +0800)
commit52e7f09698ecb5ba6d9e921ffe912d1f66158e9e
tree1f682123f809947c1532f53932348d86f593dca3
parent7026bb9504eb0f95e114f832cd6dd14302376861
Simplify vec_select of a subreg of X to just a vec_select of X.

gcc/ChangeLog
PR rtl-optimization/97249
* simplify-rtx.c (simplify_binary_operation_1): Simplify
vec_select of a subreg of X to a vec_select of X.

gcc/testsuite/ChangeLog

* gcc.target/i386/pr97249-1.c: New test.
gcc/simplify-rtx.c
gcc/testsuite/gcc.target/i386/pr97249-1.c [new file with mode: 0644]