aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Utils/CmpInstAnalysis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Utils/CmpInstAnalysis.cpp')
-rw-r--r--lib/Transforms/Utils/CmpInstAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/CmpInstAnalysis.cpp b/lib/Transforms/Utils/CmpInstAnalysis.cpp
index 8fa412a..3b15a0a 100644
--- a/lib/Transforms/Utils/CmpInstAnalysis.cpp
+++ b/lib/Transforms/Utils/CmpInstAnalysis.cpp
@@ -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