[clang] [CIR][OpenMP] Add host op filtering pass to CIR pipeline (PR #209592)
Jan Leyonberg via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 14 13:01:59 PDT 2026
================
@@ -5134,6 +5134,7 @@ void populateCIRToLLVMPasses(mlir::OpPassManager &pm) {
mlir::populateCIRPreLoweringPasses(pm);
pm.addPass(mlir::omp::createMarkDeclareTargetPass());
pm.addPass(createConvertCIRToLLVMPass());
+ pm.addPass(mlir::omp::createHostOpFilteringPass());
----------------
jsjodin wrote:
Sure, we can guard both passes (also declare target pass) by checking the OpenMP flag.
https://github.com/llvm/llvm-project/pull/209592
More information about the cfe-commits
mailing list