Re: [PATCH GCC 4/9]Check niters for peeling for data access gaps in analyzer

2016-09-07 Thread Jeff Law
On 09/06/2016 12:51 PM, Bin Cheng wrote: Hi, This patch checks if loop has enough niters for peeling for data access gaps in vect_analyze_loop_2, while now this check is in vect_transform_loop stage. The problem is vectorizer may vectorize loops without enough iterations and generate false

[PATCH GCC 4/9]Check niters for peeling for data access gaps in analyzer

2016-09-06 Thread Bin Cheng
Hi, This patch checks if loop has enough niters for peeling for data access gaps in vect_analyze_loop_2, while now this check is in vect_transform_loop stage. The problem is vectorizer may vectorize loops without enough iterations and generate false guard on the vectorized loop. Though the