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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 16:10:41 PDT 2024


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

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

>From bf11b36fae318ee8e21575d8190c3486ef2b7345 Mon Sep 17 00:00:00 2001
From: Craig Topper <craig.topper at sifive.com>
Date: Sun, 15 Sep 2024 16:07:56 -0700
Subject: [PATCH] [VirtRegMap] Remove unused MAX_STACK_SLOT. NFC

I think this has been unuesd since 92255f27f1c1884585cbcb3fcbd72bd4b0b533f7
in 2011.
---
 llvm/include/llvm/CodeGen/VirtRegMap.h | 1 -
 1 file changed, 1 deletion(-)

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:



More information about the llvm-commits mailing list