Split EVT into MVT and EVT, the former representing _just_ a primitive type, while
[oota-llvm.git] / lib / Target / SystemZ / SystemZOperands.td
index 0ee48c3ebafbc13c1922303013e3ef406a475a6a..156cace9c3746e8a857efee9154bb4937a708120 100644 (file)
@@ -134,10 +134,10 @@ def i64hh16c : PatLeaf<(i64 imm), [{
 def immSExt16 : PatLeaf<(imm), [{
   // immSExt16 predicate - true if the immediate fits in a 16-bit sign extended
   // field.
-  if (N->getValueType(0) == EVT::i64) {
+  if (N->getValueType(0) == MVT::i64) {
     uint64_t val = N->getZExtValue();
     return ((int64_t)val == (int16_t)val);
-  } else if (N->getValueType(0) == EVT::i32) {
+  } else if (N->getValueType(0) == MVT::i32) {
     uint32_t val = N->getZExtValue();
     return ((int32_t)val == (int16_t)val);
   }