Index: src/IceRegAlloc.h |
diff --git a/src/IceRegAlloc.h b/src/IceRegAlloc.h |
index da0642bbd30c37ae11db51bc8daecf051cea5bbe..fb1a0d86560ab858920049679573a89b3e57a19b 100644 |
--- a/src/IceRegAlloc.h |
+++ b/src/IceRegAlloc.h |
@@ -43,8 +43,10 @@ public: |
void dump(Cfg *Func) const; |
// TODO(stichnot): Statically choose the size based on the target being |
- // compiled. |
- static constexpr size_t REGS_SIZE = 32; |
+ // compiled. For now, choose a value large enough to fit into the |
+ // SmallVector's fixed portion, which is 32 for x86-32, 84 for x86-64, and 102 |
+ // for ARM32. |
+ static constexpr size_t REGS_SIZE = 128; |
private: |
using OrderedRanges = CfgVector<Variable *>; |