[clang] [llvm] [docs] Add a section on AI-generated content to the developer policy (PR #91014)

via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 4 22:59:22 PDT 2024


================
@@ -1301,4 +1303,28 @@ to move code from (e.g.)  libc++ to the LLVM core without concern, but that code
 cannot be moved from the LLVM core to libc++ without the copyright owner's
 permission.
 
-.. _LLVM Discourse forums: https://discourse.llvm.org
+.. _ai contributions:
+
+AI generated contributions
+--------------------------
+
+Artificial intelligence systems raise many questions around copyright that have
+yet to be answered. Our policy on AI tools is guided by our copyright policy:
+contributors are responsible for ensuring that they have the right to contribute
+code under the terms of our license, typically meaning that either they, their
+employer, or their collaborators hold the copyright. Using AI tools to
+regenerate copyrighted material does not remove the copyright, and contributors
+are responsible for ensuring that such material does not appear in their
+contributions.
+
+As such, the LLVM policy is that contributors are permitted to to use artificial
----------------
maflcko wrote:

```suggestion
As such, the LLVM policy is that contributors are permitted to use artificial
```

https://github.com/llvm/llvm-project/pull/91014


More information about the cfe-commits mailing list