[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

Ivan R. Ivanov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 19 01:43:38 PDT 2024


================
@@ -344,6 +345,7 @@ inline void createHLFIRToFIRPassPipeline(
   pm.addPass(hlfir::createLowerHLFIRIntrinsics());
   pm.addPass(hlfir::createBufferizeHLFIR());
   pm.addPass(hlfir::createConvertHLFIRtoFIR());
+  pm.addPass(flangomp::createLowerWorkshare());
----------------
ivanradanov wrote:

I opted to keep the rest of the openmp passes as they are and have added a bool argument to control whether to run the lower-workshare pass

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


More information about the llvm-branch-commits mailing list