simplify this code with the new m_Zero() pattern. Make sure the select only
authorChris Lattner <sabre@nondot.org>
Thu, 20 Dec 2007 01:56:58 +0000 (01:56 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 20 Dec 2007 01:56:58 +0000 (01:56 +0000)
commit42790486a88726fc81fbc3a205f5f6089fde74e3
treef1f12ce6db6e9903ea0174f8878a6856cb4d2ccb
parentfe085f3fde7676ddfc2241ed7ff4dbd68f88f326
simplify this code with the new m_Zero() pattern.  Make sure the select only
has a single use, and generalize it to not require N to be a constant.

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