]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: plumb abi info into ssagen/ssa
authorDavid Chase <drchase@google.com>
Thu, 21 Jan 2021 17:04:46 +0000 (12:04 -0500)
committerDavid Chase <drchase@google.com>
Wed, 24 Feb 2021 17:54:29 +0000 (17:54 +0000)
commit7a2f3273c5598bf53e37d0c8a4cb8a8caf7c4ca4
treed95022f8c4850fd59e9cc4941089f46e9b6e046b
parentadb467ffd2d82b796de12bdd8effa2cfefe01f29
cmd/compile: plumb abi info into ssagen/ssa

Plumb abi information into ssa/ssagen for plain calls
and plain functions (not methods).  Does not extend all the
way through the compiler (yet).

One test disabled because it extends far enough to break the test.

Normalized all the compiler's register args TODOs to
// TODO(register args) ...

For #40724.

Change-Id: I0173a4579f032ac3c9db3aef1749d40da5ea01ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/293389
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
12 files changed:
src/cmd/compile/internal/abi/abiutils.go
src/cmd/compile/internal/ir/node.go
src/cmd/compile/internal/noder/lex.go
src/cmd/compile/internal/ssa/func.go
src/cmd/compile/internal/ssa/loopreschedchecks.go
src/cmd/compile/internal/ssa/op.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/writebarrier.go
src/cmd/compile/internal/ssagen/ssa.go
src/cmd/compile/internal/typecheck/iexport.go
src/cmd/compile/internal/typecheck/iimport.go
test/abi/regabipragma.go