Follow up to 81494. When the folded reload is narrowed to a 32-bit load then change...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 11 Sep 2009 01:01:31 +0000 (01:01 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 11 Sep 2009 01:01:31 +0000 (01:01 +0000)
commit879caeadf3d5c60a3f5f8cb3262adb8d51c2b4a0
tree1f20856fcdaa47a8df8d0bebd142696d20e96042
parent5f12c21320c7214e54b383876c586f57c091458f
Follow up to 81494. When the folded reload is narrowed to a 32-bit load then change the destination register to a 32-bit one or add a sub-register index.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll