Minor cleanups.
authorChris Lattner <sabre@nondot.org>
Thu, 22 May 2003 19:07:21 +0000 (19:07 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 May 2003 19:07:21 +0000 (19:07 +0000)
commitc54e2b8f84c6ab9a315745cde9de0e1e93308ae0
tree26c8255a82090ad446bf78c58f0072d580a1d7bd
parentf69315bd79c3cc8f92f3b003b2cdab57aba3a20e
Minor cleanups.
This hunk:
-    } else if (Src->getNumOperands() == 2 && Src->use_size() == 1) {
+    } else if (Src->getNumOperands() == 2) {

Allows GEP folding to be more aggressive, which reduces the number of instructions
and can dramatically speed up BasicAA in some cases.

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