When spilling a live range that is used multiple times by one instruction,
authorChris Lattner <sabre@nondot.org>
Fri, 9 Sep 2005 19:17:47 +0000 (19:17 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 9 Sep 2005 19:17:47 +0000 (19:17 +0000)
commitb11443dc8458b0ba72d484dacf99dffa2e8d3b51
treef3f2239e84c13b7be56daa1d8939a133b65c1436
parent043870dd85ea41e8972c304b122070a417c8a4bc
When spilling a live range that is used multiple times by one instruction,
only add a reload live range once for the instruction.  This is one step
towards fixing a regalloc pessimization that Nate notice, but is later undone
by the spiller (so no code is changed).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23293 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp