[llvm] r212610 - [x86] Add a ZERO_EXTEND_VECTOR_INREG DAG node and use it when widening
chandlerc at gmail.com
Wed Jul 9 16:01:53 PDT 2014
On Wed, Jul 9, 2014 at 7:28 AM, Tom Stellard <tom at stellard.net> wrote:
> On Wed, Jul 09, 2014 at 10:58:19AM -0000, Chandler Carruth wrote:
> > Author: chandlerc
> > Date: Wed Jul 9 05:58:18 2014
> > New Revision: 212610
> > URL: http://llvm.org/viewvc/llvm-project?rev=212610&view=rev
> > Log:
> > [x86] Add a ZERO_EXTEND_VECTOR_INREG DAG node and use it when widening
> > vector types to be legal and a ZERO_EXTEND node is encountered.
> Is this node legal by default? If so, you should alert the target
> maintainers so they can update their backends.
Great question, and thanks for the further discussion on IRC. It should
default to expand because it is mostly useful as a way to type legalize
without scalarization. I've made that switch in r212661 (thanks for the tip
on how) and so this should work fine out of the box for any target but
allow targets to hook it as needed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits