Re: [AArch64] Add register constraints to add3_pluslong

2015-12-04 Thread Marcus Shawcroft
On 4 December 2015 at 19:42, James Greenhalgh wrote: > > Hi, > > This patch fixes a bug I spotted in the add3_pluslong insn_and_split > pattern. We need to give register constraints, otherwise the register > allocator can do whatever it likes. This manifests as an ICE on AArch64 > with -mabi=ilp32

[AArch64] Add register constraints to add3_pluslong

2015-12-04 Thread James Greenhalgh
Hi, This patch fixes a bug I spotted in the add3_pluslong insn_and_split pattern. We need to give register constraints, otherwise the register allocator can do whatever it likes. This manifests as an ICE on AArch64 with -mabi=ilp32: gcc foo.c -O2 -mabi=ilp32 error: could not split insn }