[flang-commits] [flang] [flang][cuda][NFC] Update binary name (PR #137034)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Wed Apr 23 11:16:11 PDT 2025
https://github.com/clementval created https://github.com/llvm/llvm-project/pull/137034
Name was changed in https://github.com/llvm/llvm-project/pull/135478
>From 27b301dbc76cb93076b0ed9bab0cbeabc406bef1 Mon Sep 17 00:00:00 2001
From: Valentin Clement <clementval at gmail.com>
Date: Wed, 23 Apr 2025 11:14:54 -0700
Subject: [PATCH] [flang][cuda][NFC] Update binary name
---
flang/lib/Optimizer/Dialect/CUF/CUFToLLVMIRTranslation.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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