Do not fold loads into instructions if it is used more than once. In particular
authorChris Lattner <sabre@nondot.org>
Thu, 17 Jun 2004 22:15:25 +0000 (22:15 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Jun 2004 22:15:25 +0000 (22:15 +0000)
commitccd9796a46883adcc2b29003413a527f078692f7
treece82314570198d56d2bdce88a523ebc8dbe05f7b
parent5253f05709b11c93e807885e2af6e3302e7d3877
Do not fold loads into instructions if it is used more than once.  In particular
we do not want to fold the load in cases like this:

  X = load
    = add A, X
    = add B, X

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14204 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86ISelSimple.cpp