[llvm] 9826201 - LLVMContext: rem constexpr to unblock build w/ gcc (#120402)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 18 03:36:25 PST 2024
Author: Jan Patrick Lehr
Date: 2024-12-18T06:36:22-05:00
New Revision: 9826201093f047164733982492e25151b28404df
URL: https://github.com/llvm/llvm-project/commit/9826201093f047164733982492e25151b28404df
DIFF: https://github.com/llvm/llvm-project/commit/9826201093f047164733982492e25151b28404df.diff
LOG: LLVMContext: rem constexpr to unblock build w/ gcc (#120402)
Address issues observed in buildbots with older GCC versions:
https://lab.llvm.org/buildbot/#/builders/140/builds/13302
Added:
Modified:
llvm/lib/IR/LLVMContext.cpp
Removed:
################################################################################
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";
More information about the llvm-commits
mailing list