model-writtenrun 2921 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- James Hunter proposed consolidating two near-identical copies of clause_sides_match_join() into pathnode.h, choosing that header because both callers already included it and seeking to enable reuse without another copy #1.
- David Rowley supported deduplication but recommended restrictinfo.h as the better home, while questioning the benefit of inlining a function that calls non-inlineable functions #2.
- James Hunter adopted restrictinfo.h, added the required include in joinpath.c, and retained the inline implementation in his revised patch #3.
- David Rowley committed the revised patch as 2453196107, with only header placement and commit-message edits relative to #3; the commit explicitly deferred evaluating whether inlining was worthwhile.
- David Rowley confirmed the push and explained that avoiding a function call was the apparent inlining benefit, with no branches eliminable through constant folding; the deduplication was fully landed at the thread's close #4.