[flang-commits] [flang] 0fdb908 - [flang][cuda][NFC] Update binary name (#137034)
via flang-commits
flang-commits at lists.llvm.org
Wed Apr 23 13:09:06 PDT 2025
Author: Valentin Clement (バレンタイン クレメン)
Date: 2025-04-23T13:09:02-07:00
New Revision: 0fdb908e39b22a3c630bb6b727d71748df96f8ac
URL: https://github.com/llvm/llvm-project/commit/0fdb908e39b22a3c630bb6b727d71748df96f8ac
DIFF: https://github.com/llvm/llvm-project/commit/0fdb908e39b22a3c630bb6b727d71748df96f8ac.diff
LOG: [flang][cuda][NFC] Update binary name (#137034)
Name was changed in https://github.com/llvm/llvm-project/pull/135478
Added:
Modified:
flang/lib/Optimizer/Dialect/CUF/CUFToLLVMIRTranslation.cpp
Removed:
################################################################################
diff --git a/flang/lib/Optimizer/Dialect/CUF/CUFToLLVMIRTranslation.cpp b/flang/lib/Optimizer/Dialect/CUF/CUFToLLVMIRTranslation.cpp
index 7ed7f35595968..5c4e4179d2dee 100644
--- a/flang/lib/Optimizer/Dialect/CUF/CUFToLLVMIRTranslation.cpp
+++ b/flang/lib/Optimizer/Dialect/CUF/CUFToLLVMIRTranslation.cpp
@@ -28,7 +28,7 @@ LogicalResult registerModule(cuf::RegisterModuleOp op,
llvm::IRBuilderBase &builder,
LLVM::ModuleTranslation &moduleTranslation) {
std::string binaryIdentifier =
- op.getName().getLeafReference().str() + "_bin_cst";
+ op.getName().getLeafReference().str() + "_binary";
llvm::Module *module = moduleTranslation.getLLVMModule();
llvm::Value *binary = module->getGlobalVariable(binaryIdentifier, true);
if (!binary)
More information about the flang-commits
mailing list