Re: [PATCH] i386: Fix up BFmode comparisons in conditional moves [PR107322]

2022-10-21 Thread Uros Bizjak via Gcc-patches
On Fri, Oct 21, 2022 at 9:15 AM Jakub Jelinek wrote: > > Hi! > > As the testcase shows, when cbranchbf4/cstorebf4 patterns are defined, > we can get ICEs for conditional moves. > The problem is that the generic conditional move expansion just calls > prepare_cmp_insn which just checks that such a

[PATCH] i386: Fix up BFmode comparisons in conditional moves [PR107322]

2022-10-21 Thread Jakub Jelinek via Gcc-patches
Hi! As the testcase shows, when cbranchbf4/cstorebf4 patterns are defined, we can get ICEs for conditional moves. The problem is that the generic conditional move expansion just calls prepare_cmp_insn which just checks that such a cbranch4 exists and returns directly such comparison and passes it