[llvm] 78f7aae - [VirtRegMap] Remove unused MAX_STACK_SLOT. NFC (#108781)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 08:34:52 PDT 2024


Author: Craig Topper
Date: 2024-09-17T08:34:49-07:00
New Revision: 78f7aae89570bca93d0f1ef85752f20b16394462

URL: https://github.com/llvm/llvm-project/commit/78f7aae89570bca93d0f1ef85752f20b16394462
DIFF: https://github.com/llvm/llvm-project/commit/78f7aae89570bca93d0f1ef85752f20b16394462.diff

LOG: [VirtRegMap] Remove unused MAX_STACK_SLOT. NFC (#108781)

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

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/VirtRegMap.h

Removed: 
    


################################################################################
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