• 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
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...