Skip to content

cmd: qualify the LLVM backend on linux/amd64 - #43

Merged
zhouguangyuan0718 merged 3 commits into
go1.27.masterfrom
codex/x86-goobj-parity-20260802
Aug 2, 2026
Merged

cmd: qualify the LLVM backend on linux/amd64#43
zhouguangyuan0718 merged 3 commits into
go1.27.masterfrom
codex/x86-goobj-parity-20260802

Conversation

@zhouguangyuan0718

Copy link
Copy Markdown

Summary

  • qualify the LLVM backend tests on linux/amd64 for ABI pointer maps, fixed allocas, and write-barrier helpers
  • mark AMD64 SSA-rewritten runtime.memmove and runtime.memequal calls with the same gc-leaf-function contract as dedicated LLVM lowering
  • update X86 stack-map, PCSP, R_CALLIND, and memory-operation expectations
  • allow and link zstd for Linux static LLVM builds
  • update the vendored go-llvm dependency to v0.0.0-20260802061343-79fd6b1ee93f

Dependencies

Validation

  • make.bash -llvm-dir= -llvm-version=23 -llvm-link=dynamic
  • make.bash -llvm-dir= -llvm-version=23 -llvm-link=static
  • Test/LLVM codegen: 54/54 in both modes, including package init tasks
  • ABI differential, alloca-statepoint, writebarrier-helpers, and writebarrier-ir
  • dynamic runtime matrix: 10/10
  • static runtime matrix: 10/10
  • go test cmd/dist cmd/compile/internal/ssa cmd/objview cmd/llvmtoolexec
  • go mod tidy -diff
  • regenerated vendor tree matches the checked-in binding and modules.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant