]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.ssa] cmd/compile: default compile+test with SSA
authorDavid Chase <drchase@google.com>
Mon, 26 Oct 2015 21:34:06 +0000 (17:34 -0400)
committerDavid Chase <drchase@google.com>
Fri, 30 Oct 2015 20:35:20 +0000 (20:35 +0000)
commit729abfa35ca19a3ec9bd11a8c25eecac5eba6cc9
treeabaf8863178d53eac8a613c27f44fded89c95db1
parentcdc36252fe38cef9afa1fa1efa61897fae8a21a2
[dev.ssa] cmd/compile: default compile+test with SSA

Some tests disabled, some bifurcated into _ssa and not,
with appropriate logging added to compiler.

"tests/live.go" in particular needs attention.

SSA-specific testing removed, since it's all SSA now.

Added "-run_skips" option to tests/run.go to simplify
checking whether a test still fails (or how it fails)
on a skipped platform.

The compiler now compiles with SSA by default.
If you don't want SSA, specify GOSSAHASH=n (or N) as
an environment variable.  Function names ending in "_ssa"
are always SSA-compiled.

GOSSAFUNC=fname retains its "SSA for fname, log to ssa.html"
GOSSAPKG=pkg only has an effect when GOSSAHASH=n
GOSSAHASH=10101 etc retains its name-hash-matching behavior
for purposes of debugging.

See #13068

Change-Id: I8217bfeb34173533eaeb391b5f6935483c7d6b43
Reviewed-on: https://go-review.googlesource.com/16299
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David Chase <drchase@google.com>
13 files changed:
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/export_test.go
src/cmd/compile/internal/ssa/nilcheck.go
src/cmd/dist/test.go
test/live.go
test/live2.go
test/nilcheck.go
test/nilcheck_ssa.go [new file with mode: 0644]
test/nilptr3.go
test/nilptr3_ssa.go [new file with mode: 0644]
test/run.go
test/sliceopt.go