[llvm] [CodeGen] Remove unused SpillPlacement::Linked (NFC) (PR #227989)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 00:55:21 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-regalloc

Author: Kazu Hirata (kazutakahirata)

<details>
<summary>Changes</summary>

The last use was removed on May 19, 2016 in commit
b926bdac4c18e0f31d827dec482f207856e88e1e.

Assisted-by: Antigravity


---
Full diff: https://github.com/llvm/llvm-project/pull/227989.diff


1 Files Affected:

- (modified) llvm/include/llvm/CodeGen/SpillPlacement.h (-3) 


``````````diff
diff --git a/llvm/include/llvm/CodeGen/SpillPlacement.h b/llvm/include/llvm/CodeGen/SpillPlacement.h
index bc206075d9ba4..5c7994513c3e7 100644
--- a/llvm/include/llvm/CodeGen/SpillPlacement.h
+++ b/llvm/include/llvm/CodeGen/SpillPlacement.h
@@ -58,9 +58,6 @@ class SpillPlacement {
   // caller.
   BitVector *ActiveNodes = nullptr;
 
-  // Nodes with active links. Populated by scanActiveBundles.
-  SmallVector<unsigned, 8> Linked;
-
   // Nodes that went positive during the last call to scanActiveBundles or
   // iterate.
   SmallVector<unsigned, 8> RecentPositive;

``````````

</details>


https://github.com/llvm/llvm-project/pull/227989


More information about the llvm-commits mailing list