Re: [PATCH PR81799]Fix ICE by forcing to is_gimple_val

2017-08-14 Thread Bin.Cheng
On Mon, Aug 14, 2017 at 12:21 PM, Richard Biener wrote: > On Mon, Aug 14, 2017 at 1:05 PM, Bin Cheng wrote: >> Hi, >> This patch fixes ICE reported in PR81799. It simply uses is_gimple_val >> rather than is_gimple_condexpr. >> Bootstap and test on x86_64. Is it OK? > > I guess this eventually

Re: [PATCH PR81799]Fix ICE by forcing to is_gimple_val

2017-08-14 Thread Richard Biener
On Mon, Aug 14, 2017 at 1:05 PM, Bin Cheng wrote: > Hi, > This patch fixes ICE reported in PR81799. It simply uses is_gimple_val > rather than is_gimple_condexpr. > Bootstap and test on x86_64. Is it OK? I guess this eventually pessimizes code-gen for the case we do not have the IFN call (even

[PATCH PR81799]Fix ICE by forcing to is_gimple_val

2017-08-14 Thread Bin Cheng
Hi, This patch fixes ICE reported in PR81799. It simply uses is_gimple_val rather than is_gimple_condexpr. Bootstap and test on x86_64. Is it OK? Thanks, bin 2017-08-11 Bin Cheng PR tree-optimization/81799 * tree-loop-distribution.c (version_loop_by_alias_check): Force