[llvm] VirtRegRewriter: Remove unused ID (PR #137945)
Akshat Oke via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 30 02:48:55 PDT 2025
https://github.com/optimisan created https://github.com/llvm/llvm-project/pull/137945
Build failure caused by e91cbd4f299fd3f42928aff63f5d95f07be3f7fc
PR: #130564
>From 5c21e4b6bdd3412f74dcab16730c1a43889ac5be Mon Sep 17 00:00:00 2001
From: Akshat Oke <Akshat.Oke at amd.com>
Date: Wed, 30 Apr 2025 09:46:48 +0000
Subject: [PATCH] VirtRegRewriter: Remove unused ID
Build failure caused by e91cbd4f299fd3f42928aff63f5d95f07be3f7fc
---
llvm/lib/CodeGen/VirtRegMap.cpp | 1 -
llvm/lib/Passes/PassBuilder.cpp | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp
index 60859fdcd59cf..49e819e2d10f7 100644
--- a/llvm/lib/CodeGen/VirtRegMap.cpp
+++ b/llvm/lib/CodeGen/VirtRegMap.cpp
@@ -222,7 +222,6 @@ class VirtRegRewriter {
MCRegister PhysReg, const MachineInstr &MI) const;
public:
- static char ID;
VirtRegRewriter(bool ClearVirtRegs, SlotIndexes *Indexes, LiveIntervals *LIS,
LiveRegMatrix *LRM, VirtRegMap *VRM,
LiveDebugVariables *DebugVars)
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp
index 3917b97b67101..7740f622ede7c 100644
--- a/llvm/lib/Passes/PassBuilder.cpp
+++ b/llvm/lib/Passes/PassBuilder.cpp
@@ -1505,7 +1505,7 @@ Expected<bool> parseMachineBlockPlacementPassOptions(StringRef Params) {
inconvertibleErrorCode());
}
return AllowTailMerge;
-};
+}
Expected<bool> parseVirtRegRewriterPassOptions(StringRef Params) {
bool ClearVirtRegs = true;
More information about the llvm-commits
mailing list