The CIRCT project follows the upstream LLVM AI Tool Use Policy.
Contributors may use AI tools to assist with their work, but must:
- Keep a human in the loop - All AI-generated content must be reviewed and understood by the contributor before submission
- Take full accountability - The contributor is the author and is responsible for their contributions
- Be transparent - Label contributions containing AI-generated content with a message trailer:
Assisted-by: <tool>:<model>, e.g.,Assisted-by: Claude Code:claude-sonnet-4-6. Include this trailer in commit messages, Pull Requests, or wherever authorship is normally indicated. CIRCT is more restrictive than the upstream LLVM policy and requires the use of AI transparency even when contributions are less than "substantial". - Ensure quality - Contributions should be worth more to the project than the time required to review them
Allowed:
- Using AI tools to generate code that you review, understand, and can explain
- Using AI for documentation that you verify for correctness
- Using AI to help debug or optimize code you understand
Not Allowed:
- Submitting AI-generated code without thorough human review
- Using automated agents that take action without human approval (e.g., GitHub
@claudeagent) - Using AI tools to fix "good first issue" labeled issues (these are learning opportunities for newcomers)
- Passing maintainer feedback to an LLM without understanding and addressing it yourself
Contributors using AI tools must still ensure they have the legal right to contribute code under the Apache-2.0 WITH LLVM-exception license. Using AI to regenerate copyrighted material does not remove the copyright.
For complete details, see the LLVM AI Tool Use Policy.