mirror of https://github.com/golang/go.git
cmd/compile: remove the resultInArg0 register checks on linux/loong64
The automatic resultInArg0 register check has been implemented by CL 296010. Change-Id: Id0e085ded9aa097bd02593c359a750d938a3aaa6 Reviewed-on: https://go-review.googlesource.com/c/go/+/416034 Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Wayne Zuo <wdvxdr@golangcn.org> Run-TryBot: Wayne Zuo <wdvxdr@golangcn.org> Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
parent
3615eb16af
commit
c1c6b0ca79
|
|
@ -101,9 +101,6 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {
|
|||
p.To.Type = obj.TYPE_REG
|
||||
p.To.Reg = y
|
||||
case ssa.OpLOONG64MOVVnop:
|
||||
if v.Reg() != v.Args[0].Reg() {
|
||||
v.Fatalf("input[0] and output not in same register %s", v.LongString())
|
||||
}
|
||||
// nothing to do
|
||||
case ssa.OpLoadReg:
|
||||
if v.Type.IsFlags() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue