When an instruction like: A += B had both A and B virtual registers
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 3 Feb 2004 01:13:07 +0000 (01:13 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 3 Feb 2004 01:13:07 +0000 (01:13 +0000)
commit4e7854407ced8e2160592675918312a20cfb7cde
treeda0f658db536c6cd06029a0d3c1e0e5a967cdc47
parent9fe7602862328c0081106709e0a8f03316dc845b
When an instruction like: A += B had both A and B virtual registers
spilled, A was loaded from its stack location twice. This fixes the bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11093 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/RegAllocLinearScan.cpp