On Mon, 2020-03-23 at 16:32 +0100, Andrea Corallo wrote:
> Hi all,
> 
> I'd like to submit this for PR94144.
> 
> The patch prevent 'simplify_logical_relational_operation' to generate
> insn with a float only operator with non float operands.
> 
> 
> In the PR the following
> 
> (ior:SI (gt:SI (reg:CC 66 cc)
>                (const_int 0 [0]))
>       (le:SI (reg:CC 66 cc)
>                (const_int 0 [0])))
> 
> was simplified into
> 
> (ordered:SI (reg:CC 66 cc)
>           (const_int 0 [0]))
> 
> causing ICE.
> 
> Bootstrapped on x86_64-linux-gnu and aarch64-unknown-linux-gnu does
> not introduce testsuite regressions.
> 
> Andrea
> 
> gcc/ChangeLog
> 
> 2020-??-??  Andrea Corallo  <andrea.cora...@arm.com>
> 
>       PR target/94144
>       * simplify-rtx.c (simplify_logical_relational_operation): Guard
>       against incoherent insn generation.
I've got a more complete fix for this that I'll be submitting today.
jeff

Reply via email to