[llvm-commits] [llvm] r163298 - in /llvm/trunk: lib/Target/ARM/ARMExpandPseudoInsts.cpp lib/Target/ARM/ARMInstrNEON.td test/CodeGen/ARM/integer_insertelement.ll test/CodeGen/ARM/vget_lane.ll

James Molloy James.Molloy at arm.com
Sat Oct 27 02:52:54 PDT 2012


Hi Jakob,

Thanks! That'll make tablegen that bit less complex.

Cheers,

James
________________________________________
From: Jakob Stoklund Olesen [stoklund at 2pi.dk]
Sent: 27 October 2012 00:45
To: James Molloy
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] [llvm] r163298 - in /llvm/trunk: lib/Target/ARM/ARMExpandPseudoInsts.cpp lib/Target/ARM/ARMInstrNEON.td test/CodeGen/ARM/integer_insertelement.ll test/CodeGen/ARM/vget_lane.ll

On Sep 6, 2012, at 2:16 AM, James Molloy <james.molloy at arm.com> wrote:

> Author: jamesm
> Date: Thu Sep  6 04:16:01 2012
> New Revision: 163298
>
> URL: http://llvm.org/viewvc/llvm-project?rev=163298&view=rev
> Log:
> Optimize codegen for VSETLNi{8,16,32} operating on Q registers. Degenerate to a VSETLN on D registers, instead of an (INSERT_SUBREG (VSETLN (EXTRACT_SUBREG ))) sequence to help the register coalescer.
>
>
> Added:
>    llvm/trunk/test/CodeGen/ARM/integer_insertelement.ll
> Modified:
>    llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp
>    llvm/trunk/lib/Target/ARM/ARMInstrNEON.td
>    llvm/trunk/test/CodeGen/ARM/vget_lane.ll

Hi James,

I reverted this patch (but left the test case) because the new coalescer should be able to handle these lane insertions.

Let me know if there are missing cases.

/jakob








More information about the llvm-commits mailing list