Skip to content

Commit

Permalink
Add paragraph to encourage contributors to validate generated code be…
Browse files Browse the repository at this point in the history
…fore sending it for review
  • Loading branch information
rnk committed Sep 4, 2024
1 parent 56848ba commit fbdfd47
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion llvm/docs/DeveloperPolicy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,8 @@ If you have questions or comments about these topics, please ask on the
please realize that most compiler developers are not lawyers, and therefore you
will not be getting official legal advice.

.. _LLVM Discourse forums: https://discourse.llvm.org

Copyright
---------

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

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

0 comments on commit fbdfd47

Please sign in to comment.