Skip to content

Commit 9c662c1

Browse files
committed
Add paragraph to encourage contributors to validate generated code before sending it for review
1 parent 3a21994 commit 9c662c1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

llvm/docs/DeveloperPolicy.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,8 @@ If you have questions or comments about these topics, please ask on the
10771077
please realize that most compiler developers are not lawyers, and therefore you
10781078
will not be getting official legal advice.
10791079

1080+
.. _LLVM Discourse forums: https://discourse.llvm.org
1081+
10801082
Copyright
10811083
---------
10821084

@@ -1320,4 +1322,9 @@ intelligence tools to produce contributions, provided that they have the right
13201322
to license that code under the project license. Contributions found to violate
13211323
this policy will be removed just like any other offending contribution.
13221324

1323-
.. _LLVM Discourse forums: https://discourse.llvm.org
1325+
While the LLVM project has a liberal policy on AI tool use, contributors are
1326+
considered responsible for their contributions. We encourage contributors to
1327+
review all generated code before sending it for review to verify its
1328+
correctness and to understand it so that they can answer questions during code
1329+
review. Reviewing and maintaining generated code that the original contributor
1330+
does not understand is not a good use of limited project resources.

0 commit comments

Comments
 (0)