[all-commits] [llvm/llvm-project] 90fbd1: [lit] Add --fn to prepend llvm-extract for functio...

jofrn via All-commits all-commits at lists.llvm.org
Tue May 26 20:05:52 PDT 2026


  Branch: refs/heads/users/jofrn/lit-function-selection-llvm-extract
  Home:   https://github.com/llvm/llvm-project
  Commit: 90fbd19fdb9875e7f6a77d6d1038705b4df5428d
      https://github.com/llvm/llvm-project/commit/90fbd19fdb9875e7f6a77d6d1038705b4df5428d
  Author: jofrn <165626406+jofrn at users.noreply.github.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M llvm/utils/lit/lit/LitConfig.py
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/cl_arguments.py
    M llvm/utils/lit/lit/main.py
    A llvm/utils/lit/tests/Inputs/fn-selection/lit.cfg
    A llvm/utils/lit/tests/Inputs/fn-selection/mock-bin/llvm-extract
    A llvm/utils/lit/tests/Inputs/fn-selection/sample.ll
    A llvm/utils/lit/tests/fn-selection.py

  Log Message:
  -----------
  [lit] Add --fn to prepend llvm-extract for function-level test narrowing

Add a --fn=name1,name2 flag to llvm-lit that prepends
llvm-extract --func=<name> to the first pipeline stage of each
RUN line whose first stage references %s. This lets users narrow
IR tests to specific functions and their dependencies without
modifying test files.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list