A bunch of misc fixes to SCCPSolver::ResolvedUndefsIn, including a fix to stop
authorEli Friedman <eli.friedman@gmail.com>
Tue, 16 Aug 2011 22:06:31 +0000 (22:06 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 16 Aug 2011 22:06:31 +0000 (22:06 +0000)
commit054ddf799b5487b85f6bc1d856c4e2a4978da4f7
tree700f3fc6e2f44ace9b8566b81cb3fb2131758b57
parentf213ad1a5572c7ff13f622b6a1e99f5a7e14a832
A bunch of misc fixes to SCCPSolver::ResolvedUndefsIn, including a fix to stop
making random bad assumptions about instructions which are not explicitly listed.

Includes fix for rdar://9956541, a version of "undef ^ undef should return
0 because it's easier than arguing with users".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137777 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
test/Transforms/SCCP/undef-resolve.ll