Use movaps instead of movapd for spill / restore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-04-28 02:23:35 +00:00
parent 552c4a8494
commit ed1492eaf5

View File

@ -63,7 +63,7 @@ void X86RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
} else if (RC == &X86::FR64RegClass) {
Opc = X86::MOVSDmr;
} else if (RC == &X86::VR128RegClass) {
Opc = X86::MOVAPDmr;
Opc = X86::MOVAPSmr;
} else {
assert(0 && "Unknown regclass");
abort();
@ -89,7 +89,7 @@ void X86RegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
} else if (RC == &X86::FR64RegClass) {
Opc = X86::MOVSDrm;
} else if (RC == &X86::VR128RegClass) {
Opc = X86::MOVAPDrm;
Opc = X86::MOVAPSrm;
} else {
assert(0 && "Unknown regclass");
abort();