[llvm] [VirtRegMap] Remove unused MAX_STACK_SLOT. NFC (PR #108781)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 16:11:09 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-regalloc

Author: Craig Topper (topperc)

<details>
<summary>Changes</summary>

I think this has been unuesd since 92255f27f1c1884585cbcb3fcbd72bd4b0b533f7 in 2011.

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


1 Files Affected:

- (modified) llvm/include/llvm/CodeGen/VirtRegMap.h (-1) 


``````````diff
diff --git a/llvm/include/llvm/CodeGen/VirtRegMap.h b/llvm/include/llvm/CodeGen/VirtRegMap.h
index 96c28c191e8bd5..dee462255b0b28 100644
--- a/llvm/include/llvm/CodeGen/VirtRegMap.h
+++ b/llvm/include/llvm/CodeGen/VirtRegMap.h
@@ -34,7 +34,6 @@ class TargetInstrInfo;
   public:
     enum {
       NO_STACK_SLOT = (1L << 30)-1,
-      MAX_STACK_SLOT = (1L << 18)-1
     };
 
   private:

``````````

</details>


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


More information about the llvm-commits mailing list