[all-commits] [llvm/llvm-project] cbab69: [llvm][test] Small fixes around CGTestPlugin (NFC)...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Tue Sep 22 07:04:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbab69595ca6f5a1c7296985e5555b8b45a35e55
      https://github.com/llvm/llvm-project/commit/cbab69595ca6f5a1c7296985e5555b8b45a35e55
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M llvm/test/CMakeLists.txt
    A llvm/test/Feature/codegen-plugin-legacy.ll
    R llvm/test/Other/codegen-plugin-loading.ll
    M llvm/unittests/CodeGen/CGPluginTest/Plugin/CMakeLists.txt
    M llvm/unittests/CodeGen/CGPluginTest/PluginTest.cpp
    M llvm/unittests/CodeGen/CMakeLists.txt

  Log Message:
  -----------
  [llvm][test] Small fixes around CGTestPlugin (NFC) (#225362)

We use `LLVM_ENABLE_PLUGINS` as condition to run the unit-tests in
CGPluginTest, but we used to built the required plugin under `NOT WIN32
AND NOT CYGWIN`. These only happened to be equivalent. This patch guards
the entire folder under `LLVM_ENABLE_PLUGINS`. It also moves the related
LIT test to Feature/codegen-plugin-legacy.ll and adds REQUIRES plugin.



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