Re: [PATCH PR81369/02]Conservatively not distribute loop with unknown niters

2017-07-17 Thread Richard Biener
On Fri, Jul 14, 2017 at 4:32 PM, Bin Cheng wrote: > Hi, > This is a followup patch for previous fix to PR81369. In that test case, GCC > tries to distribute infinite loop, which doesn't make much sense. This patch > works conservatively by skipping loops with unknown niters. It also > simplifi

[PATCH PR81369/02]Conservatively not distribute loop with unknown niters

2017-07-14 Thread Bin Cheng
Hi, This is a followup patch for previous fix to PR81369. In that test case, GCC tries to distribute infinite loop, which doesn't make much sense. This patch works conservatively by skipping loops with unknown niters. It also simplifies code a bit. Bootstrap and test on x86_64 and AArch64, is it