[all-commits] [llvm/llvm-project] 9c414c: [clangd] Make lit tests work with the internal shell

Florian Mayer via All-commits all-commits at lists.llvm.org
Tue Nov 25 18:54:15 PST 2025


  Branch: refs/heads/users/fmayer/spr/ubsan-use-fsanitize-recover-runtime-in-codegen
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c414c428d8464c829d551d0d91029339e746842
      https://github.com/llvm/llvm-project/commit/9c414c428d8464c829d551d0d91029339e746842
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M clang-tools-extra/clangd/test/CMakeLists.txt
    M clang-tools-extra/clangd/test/include-cleaner-batch-fix.test
    M clang-tools-extra/clangd/test/index-tools.test
    M clang-tools-extra/clangd/test/system-include-extractor.test

  Log Message:
  -----------
  [clangd] Make lit tests work with the internal shell

This makes all of the clangd tests work with the internal shell.
Modifications needed for each test are as follows:
1. system-include-extractor.test was using variable expansion which is
   not supported in the internal shell. This patch rewrites it to use
   the readfile mechanism along with python. This isn't super pretty but
   is readily understandable and there are only two tests across the
   monorepo that use this construction, so making it prettier is hard to
   justify.
2. include-cleaner-batch-fix.test - Was using $'' construction to create
   new lines in a string. Simply replace it with multiple echo commands
   to be canonical with the rest of the repository.
3. index-tools.test - Just add IndexBenchmark to the clangd test
   depends, so the test now just works unconditionally. This should
   significantly increase test coverage at little cost.

Reviewers: ilovepi, HighCommander4, petrhosek, kadircet

Reviewed By: ilovepi

Pull Request: https://github.com/llvm/llvm-project/pull/169539


  Commit: c51c382c8752e7ba5049ed3662fefb9ffe9283c3
      https://github.com/llvm/llvm-project/commit/c51c382c8752e7ba5049ed3662fefb9ffe9283c3
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M clang-tools-extra/clangd/test/lit.cfg.py

  Log Message:
  -----------
  [clangd] Enable lit internal shell by default

Enable it now that all of the tests pass under the internal shell. The
internal shell is slightly faster (10-15%) and also provides a better
debugging experience.

Reviewers: petrhosek, ilovepi, kadircet, HighCommander4

Reviewed By: ilovepi

Pull Request: https://github.com/llvm/llvm-project/pull/169540


  Commit: 4cfbc44ebe26692c209655c37aeb0b6cbf1d479b
      https://github.com/llvm/llvm-project/commit/4cfbc44ebe26692c209655c37aeb0b6cbf1d479b
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M clang-tools-extra/clangd/test/lit.cfg.py

  Log Message:
  -----------
  Revert "[clangd] Enable lit internal shell by default"

This reverts commit c51c382c8752e7ba5049ed3662fefb9ffe9283c3.

This breaks at least one buildbot:
1. https://lab.llvm.org/buildbot/#/builders/134/builds/30460


  Commit: bd04ef6df50e8e6e5212762fc798ea9fbdcfc897
      https://github.com/llvm/llvm-project/commit/bd04ef6df50e8e6e5212762fc798ea9fbdcfc897
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M clang-tools-extra/clangd/test/CMakeLists.txt
    M clang-tools-extra/clangd/test/include-cleaner-batch-fix.test
    M clang-tools-extra/clangd/test/index-tools.test
    M clang-tools-extra/clangd/test/system-include-extractor.test

  Log Message:
  -----------
  Revert "[clangd] Make lit tests work with the internal shell"

This reverts commit 9c414c428d8464c829d551d0d91029339e746842.

This one is causing buildbot failures too at CMake configure time:
1. https://lab.llvm.org/buildbot/#/builders/193/builds/12452


  Commit: 3f22ed1152c4c00e95381368ec7d88878f2fd9f9
      https://github.com/llvm/llvm-project/commit/3f22ed1152c4c00e95381368ec7d88878f2fd9f9
  Author: Alex Duran <alejandro.duran at intel.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M offload/include/OpenMP/InteropAPI.h
    M offload/include/PerThreadTable.h

  Log Message:
  -----------
  [OFFLOAD] Add support for indexed per-thread containers (#164263)

Split from #158900 it adds a PerThreadContainer that can use STL-like
indexed containers based on a slightly refactored PerThreadTable.

---------

Co-authored-by: Joseph Huber <huberjn at outlook.com>


  Commit: 5d38cddc3b00b428f848fdeddc8334c4560db36a
      https://github.com/llvm/llvm-project/commit/5d38cddc3b00b428f848fdeddc8334c4560db36a
  Author: Wenju He <wenju.he at intel.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/AST/Expr.cpp
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/scoped-atomic-ops.c
    M clang/test/Sema/scoped-atomic-ops.c

  Log Message:
  -----------
  [Clang] Add __scoped_atomic_uinc_wrap and __scoped_atomic_udec_wrap builtins (#168666)

This PR extends __scoped_atomic builtins with inc and dec functions.
They map to LLVM IR `atomicrmw uinc_wrap` and `atomicrmw udec_wrap`.
These enable implementation of OpenCL-style atomic_inc / atomic_dec with
wrap semantics on targets supporting scoped atomics (e.g. GPUs).

---------

Co-authored-by: Copilot <175728472+Copilot at users.noreply.github.com>


  Commit: d889b97f2b1cd7264a5a225edd7daf18c3709bfa
      https://github.com/llvm/llvm-project/commit/d889b97f2b1cd7264a5a225edd7daf18c3709bfa
  Author: Brandon Wu <brandon.wu at sifive.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoP.td
    M llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
    M llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll

  Log Message:
  -----------
  [RISCV][llvm] Support BUILD_VECTOR codegen for P extension (#169083)


  Commit: 44c8a011764ae5fb9178d938fc3f1f1bf76bfe49
      https://github.com/llvm/llvm-project/commit/44c8a011764ae5fb9178d938fc3f1f1bf76bfe49
  Author: Florian Mayer <fmayer at google.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M clang/test/CodeGen/cfi-icall-trap-recover-runtime.c
    M clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp

  Log Message:
  -----------
  [compiler-rt] [UBSan] remove unneeded test cases (#169594)

the target handling will be done in the driver, so removing codegen
tests.


  Commit: 175168c620d6a62ab7360693c6415cc1ab1eeb4b
      https://github.com/llvm/llvm-project/commit/175168c620d6a62ab7360693c6415cc1ab1eeb4b
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M clang/lib/Analysis/ThreadSafety.cpp
    A clang/test/SemaCXX/no-warn-thread-safety-analysis.cpp

  Log Message:
  -----------
  [Analysis] Make ThreadSafety correctly handle base class destructors (#169593)


  Commit: a4c6c2eb19f8ea463b047fcb86f16b7e3f38bd7d
      https://github.com/llvm/llvm-project/commit/a4c6c2eb19f8ea463b047fcb86f16b7e3f38bd7d
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/AST/Expr.cpp
    M clang/lib/Analysis/ThreadSafety.cpp
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/cfi-icall-trap-recover-runtime.c
    M clang/test/CodeGen/scoped-atomic-ops.c
    M clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp
    M clang/test/Sema/scoped-atomic-ops.c
    A clang/test/SemaCXX/no-warn-thread-safety-analysis.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoP.td
    M llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
    M llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll
    M offload/include/OpenMP/InteropAPI.h
    M offload/include/PerThreadTable.h

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]


  Commit: 606f67f928d727efb5b450e2a55f45954b0fa469
      https://github.com/llvm/llvm-project/commit/606f67f928d727efb5b450e2a55f45954b0fa469
  Author: Florian Mayer <fmayer at google.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/AST/Expr.cpp
    M clang/lib/Analysis/ThreadSafety.cpp
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/cfi-icall-trap-recover-runtime.c
    M clang/test/CodeGen/scoped-atomic-ops.c
    M clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp
    M clang/test/Driver/fsanitize.c
    M clang/test/Sema/scoped-atomic-ops.c
    A clang/test/SemaCXX/no-warn-thread-safety-analysis.cpp
    M llvm/include/llvm/Transforms/Instrumentation/BoundsChecking.h
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoP.td
    M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
    M llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
    M llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll
    M llvm/test/Instrumentation/BoundsChecking/runtimes.ll
    M offload/include/OpenMP/InteropAPI.h
    M offload/include/PerThreadTable.h

  Log Message:
  -----------
  upd

Created using spr 1.3.7


Compare: https://github.com/llvm/llvm-project/compare/bffbcb8f233c...606f67f928d7

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