[flang-commits] [flang] e98082d - Revert "[flang][openacc] Remove unused waitdevnum"

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Wed Dec 20 16:08:21 PST 2023


Author: Valentin Clement
Date: 2023-12-20T16:07:57-08:00
New Revision: e98082d90ab0c0d01d01f73132f70eacf865e8da

URL: https://github.com/llvm/llvm-project/commit/e98082d90ab0c0d01d01f73132f70eacf865e8da
DIFF: https://github.com/llvm/llvm-project/commit/e98082d90ab0c0d01d01f73132f70eacf865e8da.diff

LOG: Revert "[flang][openacc] Remove unused waitdevnum"

This reverts commit 8fdc3b98b894bbbe301b13cf8fc89663e1cbac1a.

Added: 
    

Modified: 
    flang/lib/Lower/OpenACC.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index ecf70818c4ac0f..59db5ab71b7024 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -1783,6 +1783,7 @@ createComputeOp(Fortran::lower::AbstractConverter &converter,
   // Parallel operation operands
   mlir::Value ifCond;
   mlir::Value selfCond;
+  mlir::Value waitDevnum;
   llvm::SmallVector<mlir::Value> waitOperands, attachEntryOperands,
       copyEntryOperands, copyoutEntryOperands, createEntryOperands,
       dataClauseOperands, numGangs, numWorkers, vectorLength, async;


        


More information about the flang-commits mailing list