[llvm] LLVMContext: rem constexpr to unblock build w/ gcc (PR #120402)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 18 02:55:09 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-ir
Author: Jan Patrick Lehr (jplehr)
<details>
<summary>Changes</summary>
Address issues observed in buildbots with older GCC versions: https://lab.llvm.org/buildbot/#/builders/140/builds/13302
---
Full diff: https://github.com/llvm/llvm-project/pull/120402.diff
1 Files Affected:
- (modified) llvm/lib/IR/LLVMContext.cpp (+1-1)
``````````diff
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp
index 9acc15f11316a2..447e5d92e0b99d 100644
--- a/llvm/lib/IR/LLVMContext.cpp
+++ b/llvm/lib/IR/LLVMContext.cpp
@@ -31,7 +31,7 @@
using namespace llvm;
-static constexpr StringRef knownBundleName(unsigned BundleTagID) {
+static StringRef knownBundleName(unsigned BundleTagID) {
switch (BundleTagID) {
case LLVMContext::OB_deopt:
return "deopt";
``````````
</details>
https://github.com/llvm/llvm-project/pull/120402
More information about the llvm-commits
mailing list