Re: Policy on use of LLM tools and bug fixes

Florian Weimer via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>
* Richard Biener:

> Another class of patches that should be "obviously" OK are when you
> ask the LLM to do a specific refactoring, like "replace all PHI_RESULT
> macro uses with gimple_phi_result calls".  I know there are/were source
> refactoring tools out there that do not use LLMs, but prompting an LLM
> is easier than trying to remember and be able to operate (open source)
> refactoring tools.

Absolutely.  LLMs tend to work for this even when they cannot parse the
code accurately, which is where other refactoring tools such as
Coccinelle fail.  We shouldn't forget that there is still a significant
barrier, particularly for large code bases such as GCC, but it's about
funding and not about knowledge.  On the other hand, those of us who can
afford decent development machines are still at an advantage anyway.

Thanks,
Florian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.