[llvm] [lit] Add stream-injectable run() core to builtin diff (PR #204869)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 08:45:37 PDT 2026
https://github.com/ilovepi approved this pull request.
LGTM.
I'd revise the title though. `[lit] Use provided streams in builtin diff` or `[lit] Allow specifying I/O stream for builtin diff` seem OK, but my main objection is `stream-injectable run() core`. The phrasing there is odd IMO, and doesn't convey the right thing.
I'd also maybe suggest a sentence about the motivation. You say its needed before you move to in-process, but I'd say its better to say it more along the lines of "We plan to move the builtins to run in-process and this is the first step...".
In fact it may make a bit more sense to phrase the whole thing that way: "We want to to X. The current implementation doesn't. To solve this we're changing the implementation to do Y and unblock Z." That is a style of commit message I often use (and see others use) . It gives reviewer and later readers the rationale for why you want to change something, the specific thing you want to change and a brief overview of how you're bridging the gap. How you express this is, of course, up to you.
I'd also give others a chance to weigh in before landing, but overall I think this change makes sense.
https://github.com/llvm/llvm-project/pull/204869
More information about the llvm-commits
mailing list