Minor fix in transfer function of '!=' where a 'false' literal should
have been 'true'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46530 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/GRConstants.cpp b/Analysis/GRConstants.cpp
index 5ef4c0b..e846aac 100644
--- a/Analysis/GRConstants.cpp
+++ b/Analysis/GRConstants.cpp
@@ -625,7 +625,7 @@
NonLValue LValue::NE(ValueManager& ValMgr, const LValue& RHS) const {
if (getSubKind() != RHS.getSubKind())
- return NonLValue::GetIntTruthValue(ValMgr, false);
+ return NonLValue::GetIntTruthValue(ValMgr, true);
switch (getSubKind()) {
default: