Re: [PATCH][AARCH64]Fix immediate alternative of movhf_aarch64 pattern.

2018-03-08 Thread James Greenhalgh
On Wed, Mar 07, 2018 at 11:23:10AM +, Renlin Li wrote: > Hi all, > > For the immediate alternative, the constraint checks the operand with HF mode > while SImode is provided to the output template generation function. > > Before the change, this inconsistency causes an ICE compiling the new

[PATCH][AARCH64]Fix immediate alternative of movhf_aarch64 pattern.

2018-03-07 Thread Renlin Li
Hi all, For the immediate alternative, the constraint checks the operand with HF mode while SImode is provided to the output template generation function. Before the change, this inconsistency causes an ICE compiling the new test case in the patch. aarch64-none-elf regression test Okay. Okay