[flang-commits] [flang] 37978c4 - [flang][cuda] Remove unused variable

via flang-commits flang-commits at lists.llvm.org
Thu Dec 12 15:04:20 PST 2024


Author: Valentin Clement (バレンタイン クレメン)
Date: 2024-12-12T15:04:16-08:00
New Revision: 37978c466b9c02463885a5de62d16f8ce0ca577f

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

LOG: [flang][cuda] Remove unused variable

Added: 
    

Modified: 
    flang/lib/Optimizer/Transforms/CUFDeviceGlobal.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Optimizer/Transforms/CUFDeviceGlobal.cpp b/flang/lib/Optimizer/Transforms/CUFDeviceGlobal.cpp
index 9650fb708cdb54..07cc1f3b4b51ce 100644
--- a/flang/lib/Optimizer/Transforms/CUFDeviceGlobal.cpp
+++ b/flang/lib/Optimizer/Transforms/CUFDeviceGlobal.cpp
@@ -28,8 +28,6 @@ namespace fir {
 
 namespace {
 
-static constexpr llvm::StringRef builtinPrefix = "_QM__fortran_builtins";
-
 static void processAddrOfOp(fir::AddrOfOp addrOfOp,
                             mlir::SymbolTable &symbolTable,
                             llvm::DenseSet<fir::GlobalOp> &candidates,


        


More information about the flang-commits mailing list