[llvm] [CodeGen] Remove unused RABasic::UsableRegs (NFC) (PR #228351)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 00:26:34 PDT 2026
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/228351
The last use was removed on June 20, 2012 in commit
03b87d5aaaa2399b9a537b6455bf564586894ff8.
Assisted-by: Antigravity
>From 3f26ca08b8fa12b0f92788769d5d4dfc1378959c Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Thu, 1 Oct 2026 22:49:05 -0700
Subject: [PATCH] [CodeGen] Remove unused RABasic::UsableRegs (NFC)
The last use was removed on June 20, 2012 in commit
03b87d5aaaa2399b9a537b6455bf564586894ff8.
Assisted-by: Antigravity
---
llvm/lib/CodeGen/RegAllocBasic.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/llvm/lib/CodeGen/RegAllocBasic.h b/llvm/lib/CodeGen/RegAllocBasic.h
index a296c90ef78f8..357e3dfddc37f 100644
--- a/llvm/lib/CodeGen/RegAllocBasic.h
+++ b/llvm/lib/CodeGen/RegAllocBasic.h
@@ -50,10 +50,6 @@ class LLVM_LIBRARY_VISIBILITY RABasic : public MachineFunctionPass,
CompSpillWeight>
Queue;
- // Scratch space. Allocated here to avoid repeated malloc calls in
- // selectOrSplit().
- BitVector UsableRegs;
-
bool LRE_CanEraseVirtReg(Register) override;
void LRE_WillShrinkVirtReg(Register) override;
More information about the llvm-commits
mailing list