]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: fix build for old backend on ARM64
authorCherry Zhang <cherryyz@google.com>
Wed, 27 Jul 2016 20:46:51 +0000 (16:46 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 28 Jul 2016 02:14:24 +0000 (02:14 +0000)
commit00692402162ecc3df33af2b3ce48142b0ff9429c
tree46e7d4b700da6382e45836bf5d247ca521362333
parent114c05962cd5a9924cd23f1263d08f0fd757bdb7
[dev.ssa] cmd/compile: fix build for old backend on ARM64

Apparently the old backend needs NEG instruction having RegRead set,
even this instruction does not take a Reg field... I don't think SSA
uses this flag, so just leave it as it was. SSA is still happy.

Fix ARM64 build on https://build.golang.org/?branch=dev.ssa

Change-Id: Ia7e7f2ca217ddae9af314d346af5406bbafb68e8
Reviewed-on: https://go-review.googlesource.com/25302
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/arm64/prog.go