reapply r85085 with a bugfix to avoid infinite looping.
authorChris Lattner <sabre@nondot.org>
Mon, 26 Oct 2009 15:40:07 +0000 (15:40 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Oct 2009 15:40:07 +0000 (15:40 +0000)
commit48b59ec81701430f8adae21dbab1a625ffddcaec
treee6a99d289c504cffef971674c8ecac6bb7f879b5
parenta8225083ba7b2368cec0ced232e43dc77d5f6f0a
reapply r85085 with a bugfix to avoid infinite looping.
All of the 'demorgan' related xforms need to use
dyn_castNotVal, not m_Not.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/or.ll