[PATCH] Fix PR72517

2016-07-27 Thread Richard Biener
Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2016-07-27 Richard Biener PR tree-optimization/72517 * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): Revert change to not compute read-read dependences. Index: gcc/tree-vect-data-ref

[PATCH] Fix PR72517, improve vector extract RTL expansion

2016-07-26 Thread Richard Biener
The following patch fixes a bug in selecting a "better" mode to do a vector extract from. The existing code was evidently written without knowing what GET_MODE_WIDER_MODE does for vector modes in the face of multiple supported vector sizes. This results in odd code-generation choices for HImode