[llvm-branch-commits] [llvm] [lit] Add lit.llvm.fn_extract: --param fn=NAMES prepends llvm-extract (PR #200351)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri May 29 18:59:31 PDT 2026
jofrn wrote:
@nikic — it allows one to filter by function name via `llvm-lit` instead of running the entire test suite of a file (in case there are too many functions); similar to #199147, which filters by RUN-line in `llvm-lit` to select a subset of CHECKs (in case there are too many RUN-lines).
@boomanaiden154 — could you clarify what you mean? The James (jh7370) concern from #199391 (lit shouldn't know LLVM specifics) is addressed here: PR #200350 puts the dispatcher in llvm config instead of lit core. Your concern from #199147 is addressed: The value over running llvm-extract manually is to have no scratch file and to not have to rewrite `%s` (i.e. it is done by the command-line). For someone debugging a single function in a large IR test, that's an ergonomic win. What else am I missing?
https://github.com/llvm/llvm-project/pull/200351
More information about the llvm-branch-commits
mailing list