[flang-commits] [flang] [Flang][OpenMP] Run Flang-specific OpenMP MLIR passes in bbc (PR #66633)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Mon Sep 18 04:48:37 PDT 2023


================
@@ -254,6 +254,24 @@ inline void createHLFIRToFIRPassPipeline(
   pm.addPass(hlfir::createConvertHLFIRtoFIRPass());
 }
 
+/// Create a pass pipeline for handling certain OpenMP transformations needed
+/// prior to FIR lowering.
+///
+/// WARNING: These passes must be run immediately after the lowering to ensure
+/// that the FIR is correct with respect to OpenMP operations/attributes.
----------------
skatrak wrote:

Done, thank you very much for the quick review!

https://github.com/llvm/llvm-project/pull/66633


More information about the flang-commits mailing list