• Cherry Zhang's avatar
    cmd/compile: clean up ADDconst on PPC64 · d5a2925b
    Cherry Zhang authored
    ADDconst op is no longer used for addresses, as we lower Addr to
    MOVDaddr. There is no rule that produces ADDconst with a non-nil
    sym. So we can remove the sym aux field in ADDconst and limit its
    use for adding constant (not offset to symbol).
    
    Passes "toolstash -cmp" on std cmd for GOARCH=ppc64 and ppc64le.
    
    Change-Id: Icee35cdb34d8d121ad7035076dfd07595c7ff809
    Reviewed-on: https://go-review.googlesource.com/69450
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarLynn Boger <laboger@linux.vnet.ibm.com>
    d5a2925b
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...