OSDN Git Service

Generalize the REM folding code to handle another case Nick Lewycky
authorChris Lattner <sabre@nondot.org>
Thu, 2 Mar 2006 06:50:58 +0000 (06:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 2 Mar 2006 06:50:58 +0000 (06:50 +0000)
commitdb3f873bd80f04a5f1309f7cb1ecc8a2aadc5e3f
treeb043f4ccfe53cf8162e9b18131a07fa441fe3c22
parentf4eec627d27d4610179e107b7c188d2d37ef5b49
Generalize the REM folding code to handle another case Nick Lewycky
pointed out: realize the AND can provide factors and look through Casts.

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