Skip to content

Commit c1c6b0c

Browse files
abner-chencwdvxdr1123
authored andcommitted
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 <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Wayne Zuo <[email protected]> Run-TryBot: Wayne Zuo <[email protected]> Reviewed-by: Bryan Mills <[email protected]>
1 parent 3615eb1 commit c1c6b0c

File tree

1 file changed

+0
-3
lines changed
  • src/cmd/compile/internal/loong64

1 file changed

+0
-3
lines changed

src/cmd/compile/internal/loong64/ssa.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {
101101
p.To.Type = obj.TYPE_REG
102102
p.To.Reg = y
103103
case ssa.OpLOONG64MOVVnop:
104-
if v.Reg() != v.Args[0].Reg() {
105-
v.Fatalf("input[0] and output not in same register %s", v.LongString())
106-
}
107104
// nothing to do
108105
case ssa.OpLoadReg:
109106
if v.Type.IsFlags() {

0 commit comments

Comments
 (0)