projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "IR: MDNode => Value"
[oota-llvm.git]
/
lib
/
Transforms
/
Utils
/
CmpInstAnalysis.cpp
diff --git
a/lib/Transforms/Utils/CmpInstAnalysis.cpp
b/lib/Transforms/Utils/CmpInstAnalysis.cpp
index 8fa412a18b99f62cdd1211a397e31929477308b9..3b15a0a3e60afdfbcb987fbd2634652ff205a636 100644
(file)
--- 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