[PATCH] D149330: [RegAllocFast] Use uint16_t SparseT for LiveRegMap

Alexis Engelke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 09:59:06 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1e743732e787: [RegAllocFast] Use uint16_t SparseT for LiveRegMap (authored by aengelke).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149330/new/

https://reviews.llvm.org/D149330

Files:
  llvm/lib/CodeGen/RegAllocFast.cpp


Index: llvm/lib/CodeGen/RegAllocFast.cpp
===================================================================
--- llvm/lib/CodeGen/RegAllocFast.cpp
+++ llvm/lib/CodeGen/RegAllocFast.cpp
@@ -106,7 +106,7 @@
       }
     };
 
-    using LiveRegMap = SparseSet<LiveReg>;
+    using LiveRegMap = SparseSet<LiveReg, identity<unsigned>, uint16_t>;
     /// This map contains entries for each virtual register that is currently
     /// available in a physical register.
     LiveRegMap LiveVirtRegs;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149330.517621.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230427/8ff23cab/attachment.bin>


More information about the llvm-commits mailing list