re PR rtl-optimization/48037 (Missed optimization: unnecessary register moves)
authorRichard Guenther <rguenther@suse.de>
Tue, 15 Mar 2011 12:22:12 +0000 (12:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Mar 2011 12:22:12 +0000 (12:22 +0000)
commitb2ad5e3738bdf0c957dea0973400320995f185c5
tree5a72cd150668d074636e998470b168a9e760eae5
parent7ee93d4e3473e678dcabef2e09b3cc1c820968e4
re PR rtl-optimization/48037 (Missed optimization: unnecessary register moves)

2011-03-15  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48037
* tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector
selects into BIT_FIELD_REFs.
(non_rewritable_mem_ref_base): Check if a MEM_REF is a
vector select.

* gcc.target/i386/pr48037-1.c: New testcase.

From-SVN: r170986
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr48037-1.c [new file with mode: 0644]
gcc/tree-ssa.c