Simplify uses of MVT and EVT. An MVT can be compared directly
[oota-llvm.git] / include / llvm / CodeGen / SelectionDAGNodes.h
index 1d328f1bc2db638d98ab3420f703d1dc271186ba..8fa099ae3928332283e0a1454ebdb03af7bcafe4 100644 (file)
@@ -528,7 +528,7 @@ public:
   /// to which the flag operand points. Otherwise return NULL.
   SDNode *getFlaggedNode() const {
     if (getNumOperands() != 0 &&
-      getOperand(getNumOperands()-1).getValueType().getSimpleVT() == MVT::Flag)
+      getOperand(getNumOperands()-1).getValueType() == MVT::Flag)
       return getOperand(getNumOperands()-1).getNode();
     return 0;
   }