• Keith Randall's avatar
    cmd/compile: make [0]T and [1]T SSAable types · 74144506
    Keith Randall authored
    We used to have to keep on-stack copies of these types.
    Now they can be registerized.
    
    [0]T is kind of trivial but might as well handle it.
    
    This change enables another change I'm working on to improve how x.(T)
    expressions are handled (#17405).  This CL helps because now all
    types that are direct interface types are registerizeable (e.g. [1]*byte).
    
    No higher-degree arrays for now because non-constant indexes are hard.
    
    Update #17405
    
    Change-Id: I2399940965d17b3969ae66f6fe447a8cefdd6edd
    Reviewed-on: https://go-review.googlesource.com/32416
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Chase <drchase@google.com>
    74144506
Name
Last commit
Last update
..
386.rules Loading commit data...
386Ops.go Loading commit data...
AMD64.rules Loading commit data...
AMD64Ops.go Loading commit data...
ARM.rules Loading commit data...
ARM64.rules Loading commit data...
ARM64Ops.go Loading commit data...
ARMOps.go Loading commit data...
MIPS64.rules Loading commit data...
MIPS64Ops.go Loading commit data...
PPC64.rules Loading commit data...
PPC64Ops.go Loading commit data...
README Loading commit data...
S390X.rules Loading commit data...
S390XOps.go Loading commit data...
dec.rules Loading commit data...
dec64.rules Loading commit data...
dec64Ops.go Loading commit data...
decOps.go Loading commit data...
generic.rules Loading commit data...
genericOps.go Loading commit data...
main.go Loading commit data...
rulegen.go Loading commit data...