Revert "IR: MDNode => Value"
[oota-llvm.git] / lib / Transforms / Utils / CmpInstAnalysis.cpp
index 8fa412a18b99f62cdd1211a397e31929477308b9..3b15a0a3e60afdfbcb987fbd2634652ff205a636 100644 (file)
@@ -84,7 +84,7 @@ Value *llvm::getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS,
     case 7: // True.
       return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1);
   }
-  return NULL;
+  return nullptr;
 }
 
 /// PredicatesFoldable - Return true if both predicates match sign or if at