Minor fix in transfer function of '!=' where a 'false' literal should
have been 'true'. llvm-svn: 46530
This commit is contained in:
parent
15ad4cf46b
commit
71b49503d8
|
@ -625,7 +625,7 @@ NonLValue LValue::EQ(ValueManager& ValMgr, const LValue& RHS) const {
|
|||
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue