go/src/cmd/compile/internal
David Chase d4c6effaa7 cmd/compile: add up-to-date test for generated files
This runs the ssa/_gen generator writing files into
a temporary directory, and then checks that there are
no differences with what is currently in the ssa directory,
and also checks that any file with the "generated from
_gen/..." header was actually generated, and checks that
the headers on the generated file match the expected
header prefix.

Change-Id: Ic8eeb0b06cf6f2e576a013e865b331a12d3a77aa
Reviewed-on: https://go-review.googlesource.com/c/go/+/680615
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
2025-06-11 10:11:53 -07:00
..
abi cmd/compile/internal/abi: fix ComputePadding 2025-03-21 15:02:04 -07:00
abt cmd: use built-in min/max instead of bespoke versions 2024-09-03 22:26:52 +00:00
amd64 cmd/compile: on amd64, use flag result of x instead of doing (TEST x x) 2025-05-05 13:07:39 -07:00
arm cmd/compile, runtime: use PC of deferreturn for panic transfer 2025-02-25 08:35:38 -08:00
arm64 cmd/compile: use zero register instead of specialized *zero instructions 2025-04-04 15:26:24 -07:00
base cmd/compile/internal/escape: additional constant and zero value tests and logging 2025-05-20 09:19:42 -07:00
bitvec cmd/compile: use the builtin clear 2025-04-18 04:21:12 -07:00
compare cmd/compile: add structs.HostLayout 2024-05-20 21:19:39 +00:00
coverage cmd/compile/internal: refactor coverage ir.Name flags 2024-03-29 21:55:46 +00:00
deadlocals cmd/compile: remove trivial closure reference 2024-09-10 21:30:16 +00:00
devirtualize cmd/compile/internal/devirtualize: do not select a zero-weight edge as the hottest one 2025-04-02 16:39:13 -07:00
dwarfgen all: use strings.ReplaceAll where applicable 2025-04-16 12:26:29 -07:00
escape cmd/compile, unique: model data flow of non-string pointers 2025-05-21 20:07:36 -07:00
gc cmd: initial compiler+linker support for DWARF5 .debug_addr 2025-02-22 20:38:27 -08:00
importer internal/pkgbits: rename Reloc* to Section* 2025-05-12 13:46:33 -07:00
inline Revert "cmd/compile: Enable inlining of tail calls" 2025-06-04 08:27:44 -07:00
ir Revert "cmd/compile: Enable inlining of tail calls" 2025-06-04 08:27:44 -07:00
liveness cmd/compile: use the builtin clear 2025-04-18 04:21:12 -07:00
logopt cmd/compile/internal/escape: make escape analysis -m=2 logs more accessible 2025-05-21 19:02:51 -07:00
loong64 cmd/compile: add rules about ORN and ANDN 2025-05-21 08:28:37 -07:00
loopvar cmd/compile: fix ICE when transforming loopvar 2025-05-22 09:51:56 -07:00
mips cmd/compile/internal: intrinsify publicationBarrier on mipsx 2025-05-21 12:08:18 -07:00
mips64 cmd/compile/internal: intrinsify publicationBarrier on mips64x 2025-05-21 12:06:44 -07:00
noder cmd/compile: relax reshaping condition 2025-06-09 09:29:38 -07:00
objw cmd/compile: use the builtin clear 2025-04-18 04:21:12 -07:00
pgoir cmd: make use of maps.{Copy, Clone} 2024-09-13 21:05:31 +00:00
pkginit cmd/compile: don't instrument counter globals in internal/fuzz 2025-05-20 10:47:59 -07:00
ppc64 cmd/compile, runtime: use PC of deferreturn for panic transfer 2025-02-25 08:35:38 -08:00
rangefunc cmd/compile: change status of "bad iterator" panic 2024-11-13 18:30:21 +00:00
reflectdata internal/runtime/maps: make clear also erase tombstones 2025-05-07 12:44:00 -07:00
riscv64 cmd/compile,internal/cpu,runtime: intrinsify math/bits.OnesCount on riscv64 2025-05-01 05:57:41 -07:00
rttype cmd/compile: add type-based alias analysis 2025-02-14 15:32:55 -08:00
s390x cmd/compile, runtime: use PC of deferreturn for panic transfer 2025-02-25 08:35:38 -08:00
ssa cmd/compile: add up-to-date test for generated files 2025-06-11 10:11:53 -07:00
ssagen Revert "cmd/compile: Enable inlining of tail calls" 2025-06-04 08:27:44 -07:00
staticdata cmd/compile: fix an internal crash in embed 2024-11-05 18:54:20 +00:00
staticinit cmd/compile: avoid static init of strings in FIPS mode 2024-11-18 17:29:51 +00:00
syntax go/parser: require label after goto 2025-02-25 09:14:35 -08:00
test cmd/compile/internal/test: verify inlining for mutex fast paths 2025-05-07 14:14:32 -07:00
typebits cmd/compile/internal/types: overhaul and simplify API 2023-08-22 01:53:41 +00:00
typecheck Revert "cmd/compile: Enable inlining of tail calls" 2025-06-04 08:27:44 -07:00
types cmd/compile: allocate backing store for append on the stack 2025-05-19 16:14:53 -07:00
types2 test: add another regression test for issue 73309 2025-06-04 07:40:51 -07:00
walk Revert "cmd/compile: Enable inlining of tail calls" 2025-06-04 08:27:44 -07:00
wasm cmd/compile, runtime: use PC of deferreturn for panic transfer 2025-02-25 08:35:38 -08:00
x86 cmd/compile, runtime: use PC of deferreturn for panic transfer 2025-02-25 08:35:38 -08:00