]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa: add initial README
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 8 Mar 2018 21:47:17 +0000 (21:47 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 31 Mar 2018 20:18:09 +0000 (20:18 +0000)
commitec60e4a0d2ddabd7667fd9bff9f376e6a181ce8d
treed56c5c1f30f1300fa4caeb6bce0f54ae7baa9f9d
parent8a525b8e7f37ea5d2386af6b5f3758c721849ffe
cmd/compile/internal/ssa: add initial README

This is the first version of an introductory document that should help
developers who want to get started with this package.

I recently started poking around this part of the compiler, and was
confused by a few basic ideas such as memory arguments. I also hadn't
heard about GOSSAFUNC until another developer pointed it out. Both of
those are essential if one wants to do any non-trivial work here.

This document can of course be expanded with more pointers and tips to
better understand this package's code and behavior. Its intent is not to
cover all of its features; but it should be enough for most developers
to start playing with it without extensive compiler experience.

Change-Id: Ifd2d047fbd038ab50f4625a15c4d49932b42fd66
Reviewed-on: https://go-review.googlesource.com/99715
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/README.md [new file with mode: 0644]