Use movaps instead of movapd for spill / restore.

llvm-svn: 28005
This commit is contained in:
Evan Cheng 2006-04-28 02:23:35 +00:00
parent 51ab4498e7
commit f0157cb0bc
1 changed files with 2 additions and 2 deletions

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();