Skip to content

Commit 33f2456

Browse files
committed
[docs] Add a section on AI-generated content to the developer policy
Governments around the world are starting to require labelling for AI-generated content, and some LLVM stakeholders have asked if LLVM contains AI-generated content. Defining a policy on the use of AI tools allows us to answer that question affirmatively, one way of the other. The policy proposed here allows the use of AI tools in LLVM contributions, flowing from the idea that any contribution is fine regardless of how it is made, as long as the contributor has the right to license it under the project license.
1 parent 88e4991 commit 33f2456

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

llvm/docs/DeveloperPolicy.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,4 +1301,23 @@ to move code from (e.g.) libc++ to the LLVM core without concern, but that code
13011301
cannot be moved from the LLVM core to libc++ without the copyright owner's
13021302
permission.
13031303

1304+
.. _ai contributions:
1305+
1306+
AI generated contributions
1307+
--------------------------
1308+
1309+
Artificial intelligence systems raise many questions around copyright that have
1310+
yet to be answered. Our policy on AI tools is guided by our copyright policy:
1311+
contributors are responsible for ensuring that they have the right to contribute
1312+
code under the terms of our license, typically meaning that either they, their
1313+
employer, or their collaborators hold the copyright. Using AI tools to
1314+
regenerate copyrighted material does not remove the copyright, and contributors
1315+
are responsible for ensuring that such material does not appear in their
1316+
contributions.
1317+
1318+
As such, the LLVM policy is that contributors are permitted to to use artificial
1319+
intelligence tools to produce contributions, provided that they have the right
1320+
to license that code under the project license. Contributions found to violate
1321+
this policy will be removed just like any other offending contribution.
1322+
13041323
.. _LLVM Discourse forums: https://discourse.llvm.org

0 commit comments

Comments
 (0)