[flang-commits] [flang] 723e424 - [flang][openacc][NFC] Remove unused variables

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Thu Jul 27 14:06:34 PDT 2023


Author: Valentin Clement
Date: 2023-07-27T14:06:18-07:00
New Revision: 723e424e56c72a7f21eb86b0305f8e9823e8851a

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

LOG: [flang][openacc][NFC] Remove unused variables

Added: 
    

Modified: 
    flang/lib/Lower/OpenACC.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index 7d1327c6e73185..b55b1e01e6a760 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -2444,9 +2444,6 @@ static void genACC(Fortran::lower::AbstractConverter &converter,
 
   if (declarativeDir.v == llvm::acc::Directive::ACCD_declare) {
     fir::FirOpBuilder &builder = converter.getFirOpBuilder();
-    llvm::SmallVector<mlir::Value> dataClauseOperands, copyEntryOperands,
-        copyoutEntryOperands, createEntryOperands;
-    Fortran::lower::StatementContext stmtCtx;
     auto moduleOp =
         builder.getBlock()->getParent()->getParentOfType<mlir::ModuleOp>();
     auto funcOp =


        


More information about the flang-commits mailing list