[cfe-commits] r47341 - /cfe/trunk/Analysis/ValueManager.cpp
Ted Kremenek
kremenek at apple.com
Tue Feb 19 12:53:37 PST 2008
Author: kremenek
Date: Tue Feb 19 14:53:37 2008
New Revision: 47341
URL: http://llvm.org/viewvc/llvm-project?rev=47341&view=rev
Log:
Added missing case in constant propagation logic for handling the Xor of
two concrete integer values.
Modified:
cfe/trunk/Analysis/ValueManager.cpp
Modified: cfe/trunk/Analysis/ValueManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/ValueManager.cpp?rev=47341&r1=47340&r2=47341&view=diff
==============================================================================
--- cfe/trunk/Analysis/ValueManager.cpp (original)
+++ cfe/trunk/Analysis/ValueManager.cpp Tue Feb 19 14:53:37 2008
@@ -130,5 +130,8 @@
case BinaryOperator::Or:
return getValue( V1 | V2 );
+
+ case BinaryOperator::Xor:
+ return getValue( V1 ^ V2 );
}
}
More information about the cfe-commits
mailing list