[flang-commits] [flang] ad584a2 - [flang][openacc][NFC] Remove unused variable

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Mon Nov 6 14:43:45 PST 2023


Author: Valentin Clement
Date: 2023-11-06T14:43:36-08:00
New Revision: ad584a27f297051482f1fe6d19db8a99c954e7d0

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

LOG: [flang][openacc][NFC] Remove 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 875db135d15ad91..73cbea8e9ab8494 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -2752,7 +2752,6 @@ static void createDeclareGlobalOp(mlir::OpBuilder &modBuilder,
   builder.createBlock(&declareGlobalOp.getRegion(),
                       declareGlobalOp.getRegion().end(), {}, {});
   builder.setInsertionPointToEnd(&declareGlobalOp.getRegion().back());
-  mlir::Value entryAddr;
 
   fir::AddrOfOp addrOp = builder.create<fir::AddrOfOp>(
       loc, fir::ReferenceType::get(globalOp.getType()), globalOp.getSymbol());


        


More information about the flang-commits mailing list