{"push_id":2429831020,"size":1,"distinct_size":0,"ref":"refs/heads/trunk","head":"469f7bc04dcd1ffcd796a27dedfe8970cb2a09d2","before":"3ab223f5a14ecec401accde1cab020181e4e8dd4","commits":[{"sha":"469f7bc04dcd1ffcd796a27dedfe8970cb2a09d2","author":{"name":"rsandifo","email":"3f579589ab45b96cefc538787f73ce0d585c3f85@138bc75d-0d04-0410-961f-82ee72b054a4"},"message":"Use SCEV information when aligning for vectorisation (PR 84005)\n\nThis PR is another regression caused by the removal of the simple_iv\ncheck in dr_analyze_innermost for BB analysis.  Without splitting out\nthe step, we weren't able to find an underlying object whose alignment\ncould be increased.\n\nAs with PR81635, I think the simple_iv was only handling one special\ncase of something that ought to be more general.  The more general\nthing here is that if the address can be analysed as a scalar\nevolution, and if all updates preserve alignment N, it's possible\nto align the address to N by increasing the alignment of the base\nobject to N.  That applies also to outer loops, and to both loop\nand BB analysis.\n\nI wasn't sure where the new functions ought to live, but tree-data-ref.c\nseemed OK since (a) that already does scev analysis on addresses and\n(b) you'd want to use dr_analyze_innermost first if you were analysing\na reference.\n\n2018-03-24  Richard Sandiford  <richard.sandiford@linaro.org>\n\ngcc/\n\tPR tree-optimization/84005\n\t* tree-data-ref.h (get_base_for_alignment): Declare.\n\t* tree-data-ref.c (get_base_for_alignment_1): New function.\n\t(get_base_for_alignment): Likewise.\n\t* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use\n\tget_base_for_alignment to find a suitable base object, instead\n\tof always using drb->base_address.\n\ngcc/testsuite/\n\tPR tree-optimization/84005\n\t* gcc.dg/vect/bb-slp-1.c: Make sure there is no message about\n\tfailing to force the alignment.\n\n\ngit-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258833 138bc75d-0d04-0410-961f-82ee72b054a4","distinct":false,"url":"https://api.github.com/repos/kraj/gcc/commits/469f7bc04dcd1ffcd796a27dedfe8970cb2a09d2"}]}
{"actor":{"display_login":"kraj"}}