Re: [PATCH PR69848]Avoid not insn by inverting comparison code in vcond patterns

2016-08-16 Thread Bin.Cheng
On Tue, Aug 16, 2016 at 10:53 AM, James Greenhalgh wrote: > On Wed, Aug 10, 2016 at 04:00:16PM +, Bin Cheng wrote: >> Hi, >> This is a follow up patch for previous vcond patches. In previous ones, >> we rely on combiner to simplify "X = !Y; Z = X ? A : B" into "Z = Y ? B : A". >> That works f

Re: [PATCH PR69848]Avoid not insn by inverting comparison code in vcond patterns

2016-08-16 Thread James Greenhalgh
On Wed, Aug 10, 2016 at 04:00:16PM +, Bin Cheng wrote: > Hi, > This is a follow up patch for previous vcond patches. In previous ones, > we rely on combiner to simplify "X = !Y; Z = X ? A : B" into "Z = Y ? B : A". > That works for some cases, but not all of them, for example, case in > PR69