[llvm] [lit] Add stream-injectable run() core to builtin diff (PR #204869)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 10:10:45 PDT 2026
================
----------------
ilovepi wrote:
I'm not sure I follow the rationale here from the PR description. Why is this beneficial, why is it necessary? Usually, when I've seen this the fallback is to some default package that's guaranteed to be around, say from the language itself, but you'd prefer a compatible package with some extensions/improvements (e.g. a third party json lib w/ compatible but more performant APIs). In this case though, the package being imported is a package we control locally, so I'm not sure I'm following precisely why we'd do this over just directly importing `lit.util`, since I only see one use of `util` in the diff here.
So, I think we either need more thorough explanations/documentation here, or to change the import strategy to be more uniform (e.g. import both and be clear about when they're used: `lit.util.operation()` over `util.operation()`).
https://github.com/llvm/llvm-project/pull/204869
More information about the llvm-commits
mailing list