Fixing ifcvt issue as exposed by BZ89430

2019-02-28 Thread JiangNing OS
To solve BZ89430 the followings are needed, (1) The code below in noce_try_cmove_arith needs to be fixed. /* ??? We could handle this if we knew that a load from A or B could not trap or fault. This is also true if we've already loaded from the address along the path from ENTRY. */

Re: Fixing ifcvt issue as exposed by BZ89430

2019-03-19 Thread Jeff Law
On 2/28/19 5:26 AM, JiangNing OS wrote: > To solve BZ89430 the followings are needed, > > (1) The code below in noce_try_cmove_arith needs to be fixed. > > /* ??? We could handle this if we knew that a load from A or B could > not trap or fault. This is also true if we've already loaded >

Re: Fixing ifcvt issue as exposed by BZ89430

2019-05-08 Thread Richard Biener
On Thu, Feb 28, 2019 at 1:26 PM JiangNing OS wrote: > > To solve BZ89430 the followings are needed, > > (1) The code below in noce_try_cmove_arith needs to be fixed. > > /* ??? We could handle this if we knew that a load from A or B could > not trap or fault. This is also true if we've alr

RE: Fixing ifcvt issue as exposed by BZ89430

2019-05-08 Thread JiangNing OS
> -Original Message- > From: Richard Biener > Sent: Wednesday, May 8, 2019 3:35 PM > To: JiangNing OS > Cc: gcc-patches@gcc.gnu.org; Richard Biener ; > pins...@gcc.gnu.org > Subject: Re: Fixing ifcvt issue as exposed by BZ89430 > > On Thu, Feb 28, 2019 at 1: