commit | 7c79a79430f14affa48251874c025efb50b4033d | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Feb 19 20:53:37 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Feb 19 20:53:37 2008 +0000 |
tree | 0e21d3511148afd0483c5f42262ccc9aa05b2ea9 | |
parent | 9d4895cead5a9a0d88e1a9720483e2febe4ccb97 [diff] [blame] |
Added missing case in constant propagation logic for handling the Xor of two concrete integer values. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47341 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/ValueManager.cpp b/Analysis/ValueManager.cpp index 61a2154..64f4b27 100644 --- a/Analysis/ValueManager.cpp +++ b/Analysis/ValueManager.cpp
@@ -130,5 +130,8 @@ case BinaryOperator::Or: return getValue( V1 | V2 ); + + case BinaryOperator::Xor: + return getValue( V1 ^ V2 ); } }