]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add missing tail calls flag for linux/loong64
authorGuoqi Chen <chenguoqi@loongson.cn>
Tue, 28 Jun 2022 07:46:00 +0000 (15:46 +0800)
committerWayne Zuo <wdvxdr@golangcn.org>
Sat, 29 Oct 2022 03:14:03 +0000 (03:14 +0000)
commit8a9e2d9d49a9d5234b52a0360ed6a0f91753c291
tree787a4c66314b71945bf1f52977b9370ef43d471c
parentc87e69c2b49e27d0e68709eb9623f2f03eb15267
cmd/compile: add missing tail calls flag for linux/loong64

Set the value of the variable tailCall to true and prevent
allocating or clobber the linker register.

Change-Id: I4ec19c67056cb99196911aa7c0054be89ab7eb8d
Reviewed-on: https://go-review.googlesource.com/c/go/+/414954
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Wayne Zuo <wdvxdr@golangcn.org>
Reviewed-by: WANG Xuerui <git@xen0n.name>
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
src/cmd/compile/internal/ssa/opGen.go