[llvm] RuntimeLibcalls: Make getLibcallImplName static. NFC. (PR #147919)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 10 01:28:02 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-ir
Author: Matt Arsenault (arsenm)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/147919.diff
1 Files Affected:
- (modified) llvm/include/llvm/IR/RuntimeLibcalls.h (+1-1)
``````````diff
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];
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/147919
More information about the llvm-commits
mailing list