[flang-commits] [flang] 4eeeeb3 - [flang][openacc] Remove	waitDevnum unused variable
    Valentin Clement via flang-commits 
    flang-commits at lists.llvm.org
       
    Sun Jan 28 21:31:47 PST 2024
    
    
  
Author: Valentin Clement
Date: 2024-01-28T21:31:33-08:00
New Revision: 4eeeeb305b6bb1c08e04482848f425b07029c82c
URL: https://github.com/llvm/llvm-project/commit/4eeeeb305b6bb1c08e04482848f425b07029c82c
DIFF: https://github.com/llvm/llvm-project/commit/4eeeeb305b6bb1c08e04482848f425b07029c82c.diff
LOG: [flang][openacc] Remove waitDevnum unused variable
Added: 
    
Modified: 
    flang/lib/Lower/OpenACC.cpp
Removed: 
    
################################################################################
diff  --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index 427b36a12a2df01..d3e8dd28ffd6394 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -2429,7 +2429,7 @@ static void genACCDataOp(Fortran::lower::AbstractConverter &converter,
                          Fortran::semantics::SemanticsContext &semanticsContext,
                          Fortran::lower::StatementContext &stmtCtx,
                          const Fortran::parser::AccClauseList &accClauseList) {
-  mlir::Value ifCond, waitDevnum;
+  mlir::Value ifCond;
   llvm::SmallVector<mlir::Value> attachEntryOperands, createEntryOperands,
       copyEntryOperands, copyoutEntryOperands, dataClauseOperands, waitOperands,
       async;
@@ -3037,7 +3037,7 @@ genACCUpdateOp(Fortran::lower::AbstractConverter &converter,
                Fortran::semantics::SemanticsContext &semanticsContext,
                Fortran::lower::StatementContext &stmtCtx,
                const Fortran::parser::AccClauseList &accClauseList) {
-  mlir::Value ifCond, waitDevnum;
+  mlir::Value ifCond;
   llvm::SmallVector<mlir::Value> dataClauseOperands, updateHostOperands,
       waitOperands, deviceTypeOperands, asyncOperands;
   llvm::SmallVector<mlir::Attribute> asyncOperandsDeviceTypes,
        
    
    
More information about the flang-commits
mailing list