From 7a1bc7318dc7cd99f735545e0215e55a29615b28 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sat, 16 Jul 2005 02:00:20 +0000 Subject: [PATCH] Teach the register allocator that movaps is also a move instruction llvm-svn: 22451 --- lib/Target/X86/X86InstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 957360b2013..2fec723b25b 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -28,7 +28,7 @@ bool X86InstrInfo::isMoveInstr(const MachineInstr& MI, unsigned& destReg) const { MachineOpCode oc = MI.getOpcode(); if (oc == X86::MOV8rr || oc == X86::MOV16rr || oc == X86::MOV32rr || - oc == X86::FpMOV || oc == X86::MOVAPDrr) { + oc == X86::FpMOV || oc == X86::MOVAPDrr || oc == X86::MOVAPSrr) { assert(MI.getNumOperands() == 2 && MI.getOperand(0).isRegister() && MI.getOperand(1).isRegister() &&