Propagate subreg index when promoting a load to a copy.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 11 Sep 2008 01:02:12 +0000 (01:02 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 11 Sep 2008 01:02:12 +0000 (01:02 +0000)
commitd9c553f2622f751f9c474aa348e2f8b595d7d9ca
tree8c9f618696aec433f56ffb0f64f47fa09e4c0313
parent7f85fbd9de5a4bb1474075b46eb3a8246ea5220d
Propagate subreg index when promoting a load to a copy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56085 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegMap.cpp
test/CodeGen/X86/2008-09-10-SpillerBug2.ll [new file with mode: 0644]