From b3f6777edfb470c501c63929204dbc1317f4544f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Faveo=20H=C3=B6rold?= Date: Tue, 23 Jun 2026 09:09:00 +0200 Subject: [PATCH 1/2] Updated path and function signature for LLVM22. --- pass/Raptor.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pass/Raptor.cpp b/pass/Raptor.cpp index 1ca8ec81..a2fba2dd 100644 --- a/pass/Raptor.cpp +++ b/pass/Raptor.cpp @@ -1277,7 +1277,7 @@ class RaptorBase { } // namespace #if LLVM_VERSION_MAJOR >= 22 -#include "llvm/Extensions/PassPlugin.h" +#include "llvm/Plugins/PassPlugin.h" #else #include "llvm/Passes/PassPlugin.h" #endif @@ -1596,8 +1596,7 @@ void augmentPassBuilder(llvm::PassBuilder &PB) { FunctionPassManager MainFPM; MainFPM.addPass(createFunctionToLoopPassAdaptor( LICMPass(SetLicmMssaOptCap, SetLicmMssaNoAccForPromotionCap, - /*AllowSpeculation=*/true), - /*USeMemorySSA=*/true, /*UseBlockFrequencyInfo=*/false)); + /*AllowSpeculation=*/true), /*UseMemorySSA=*/true)); if (RunNewGVN) MainFPM.addPass(NewGVNPass()); From c2e2a4f21179b38adecbbcff64cc2ea8159d3bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Faveo=20H=C3=B6rold?= Date: Tue, 23 Jun 2026 09:09:15 +0200 Subject: [PATCH 2/2] Enable LLVM 22 in CI/CD. --- .github/workflows/check-all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-all.yml b/.github/workflows/check-all.yml index 8658090a..ae8799cf 100644 --- a/.github/workflows/check-all.yml +++ b/.github/workflows/check-all.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - llvm: ["20", "21"] #, "22"] + llvm: ["20", "21", "22"] build: ["Release"] #, "Debug"] #, "RelWithDebInfo"] os: ["ubuntu-22.04", "ubuntu-24.04", "ubuntu-26.04"] exclude: