[llvm] RuntimeLibcalls: Make getLibcallImplName static. NFC. (PR #147919)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 10 01:27:20 PDT 2025


https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/147919

None

>From 33f69c4d50060d8e5576e412e67a451002cbd1fd Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Thu, 10 Jul 2025 17:13:46 +0900
Subject: [PATCH] RuntimeLibcalls: Make getLibcallImplName static. NFC.

---
 llvm/include/llvm/IR/RuntimeLibcalls.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/include/llvm/IR/RuntimeLibcalls.h b/llvm/include/llvm/IR/RuntimeLibcalls.h
index 3913626b412cf..c17ab6650a1e6 100644
--- a/llvm/include/llvm/IR/RuntimeLibcalls.h
+++ b/llvm/include/llvm/IR/RuntimeLibcalls.h
@@ -81,7 +81,7 @@ struct RuntimeLibcallsInfo {
   }
 
   /// Get the libcall routine name for the specified libcall implementation.
-  const char *getLibcallImplName(RTLIB::LibcallImpl CallImpl) const {
+  static const char *getLibcallImplName(RTLIB::LibcallImpl CallImpl) {
     return LibCallImplNames[CallImpl];
   }
 



More information about the llvm-commits mailing list