Re: [PATCH] aarch64: Fix {ash[lr],lshr}3 expanders [PR94488]

2020-04-07 Thread Richard Sandiford
Jakub Jelinek writes: > Hi! > > The following testcase ICEs on aarch64 apparently since the introduction of > the aarch64 port. The reason is that the {ashl,ashr,lshr}3 expanders > completely unnecessarily FAIL; if operands[2] is something other than > a CONST_INT or REG or MEM and the middle-end

[PATCH] aarch64: Fix {ash[lr],lshr}3 expanders [PR94488]

2020-04-06 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs on aarch64 apparently since the introduction of the aarch64 port. The reason is that the {ashl,ashr,lshr}3 expanders completely unnecessarily FAIL; if operands[2] is something other than a CONST_INT or REG or MEM and the middle-end code can't cope with the pattern