A few things about Sashiko AI review bot
Uros Bizjak
ubizjak@gmail.com
Sun Dec 6 10:17:31 GMT 2026
On Sun, Dec 6, 2026 at 10:48 AM Uros Bizjak <ubizjak@gmail.com> wrote:
>
> There is a real structural problem with automated review: the bot has
> no concept of scope. A human reviewer implicitly asks "is this patch
> correct and does it do what it claims?" A bot that keeps digging is
> answering a different question: "is anything in the vicinity of this
> code wrong?" The second question has no natural stopping point,
> especially in a codebase with decades of accumulated assumptions.
A concrete case is PR target/129052 (x86_cse placing the TLS call between
a register's set and its use). What began as a fix for one isolated
problem, with a testcase, reached v4 with each revision's new code
triggering further findings in the pass, and I ended up leaving the
correct fix to the x86_cse authors [1]. I do not dispute that the
findings point at real weaknesses, but a contributor cannot be expected
to audit a whole pass as the price of fixing one bug.
[1] https://gcc.gnu.org/pipermail/gcc-patches/2026-December/742538.html
Uros.
More information about the Gcc
mailing list