[llvm-branch-commits] [mlir] [MLIR][OpenMP] Update omp.wsloop translation to LLVM IR (4/5) (PR #89214)
Michael Kruse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 19 01:51:07 PDT 2024
================
@@ -916,49 +916,50 @@ static LogicalResult inlineReductionCleanup(
static LogicalResult
convertOmpWsloop(Operation &opInst, llvm::IRBuilderBase &builder,
LLVM::ModuleTranslation &moduleTranslation) {
- auto loop = cast<omp::WsloopOp>(opInst);
- const bool isByRef = loop.getByref();
+ auto wsloopOp = cast<omp::WsloopOp>(opInst);
+ auto loopOp = cast<omp::LoopNestOp>(wsloopOp.getWrappedLoop());
----------------
Meinersbur wrote:
Will this be updated for when `omp.wsloop { omp.simd { omp.loop_nest ...` is going to be supported? Does the current verifier reject this?
https://github.com/llvm/llvm-project/pull/89214
More information about the llvm-branch-commits
mailing list