Skip to content

replace opt+llc with single clang -c pass#408

Merged
cs01 merged 4 commits intomainfrom
clang-single-pass
Mar 16, 2026
Merged

replace opt+llc with single clang -c pass#408
cs01 merged 4 commits intomainfrom
clang-single-pass

Conversation

@cs01
Copy link
Owner

@cs01 cs01 commented Mar 16, 2026

Summary

  • Users no longer need opt or llc installed — only clang is required
  • Compilation pipeline simplified: .llclang -c -O2.oclang (link) → binary
  • Eliminates intermediate .opt.bc file and double IR parsing overhead
  • Both node and native compiler paths updated

Test plan

  • npm run verify:quick passes (tests + stage 0 + stage 1)
  • CI (full verify with stage 2)

🤖 Generated with Claude Code

@cs01 cs01 force-pushed the clang-single-pass branch from 13c4a8e to 17f6250 Compare March 16, 2026 21:14
@cs01 cs01 merged commit c909d2c into main Mar 16, 2026
12 checks passed
@cs01 cs01 deleted the clang-single-pass branch March 16, 2026 21:38
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