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: 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());