Index: src/IceOperand.h |
diff --git a/src/IceOperand.h b/src/IceOperand.h |
index 137d456cbc9da516b95ba957ac4e25f17e11ed60..a32ec2b7e2c5e9c99901c6d682fa7c834b5d11cb 100644 |
--- a/src/IceOperand.h |
+++ b/src/IceOperand.h |
@@ -424,23 +424,6 @@ private: |
Ostream &operator<<(Ostream &Str, const LiveRange &L); |
-/// RegClass indicates the physical register class that a Variable may be |
-/// register-allocated from. By default, a variable's register class is |
-/// directly associated with its type. However, the target lowering may define |
-/// additional target-specific register classes by extending the set of enum |
-/// values. |
-enum RegClass : uint8_t { |
-// Define RC_void, RC_i1, RC_i8, etc. |
-#define X(tag, sizeLog2, align, elts, elty, str) RC_##tag = IceType_##tag, |
- ICETYPE_TABLE |
-#undef X |
- RC_Target, |
- // Leave plenty of space for target-specific values. |
- RC_Max = std::numeric_limits<uint8_t>::max() |
-}; |
-static_assert(RC_Target == static_cast<RegClass>(IceType_NUM), |
- "Expected RC_Target and IceType_NUM to be the same"); |
- |
/// Variable represents an operand that is register-allocated or |
/// stack-allocated. If it is register-allocated, it will ultimately have a |
/// non-negative RegNum field. |