forked from OSchip/llvm-project
Added missing case in constant propagation logic for handling the Xor of
two concrete integer values. llvm-svn: 47341
This commit is contained in:
parent
9c08512656
commit
4ae9985285
|
@ -130,5 +130,8 @@ ValueManager::EvaluateAPSInt(BinaryOperator::Opcode Op,
|
|||
|
||||
case BinaryOperator::Or:
|
||||
return getValue( V1 | V2 );
|
||||
|
||||
case BinaryOperator::Xor:
|
||||
return getValue( V1 ^ V2 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue