From: Evan Cheng Date: Thu, 14 Dec 2006 19:44:45 +0000 (+0000) Subject: Added MOVSS2DIrr and MOVDI2SSrr to foldMemeoryOperand(). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0e8dbc6d5abec245bcd8b7c289138912228a0f23;p=oota-llvm.git Added MOVSS2DIrr and MOVDI2SSrr to foldMemeoryOperand(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32583 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp index 3c882eaa14e..3bc48351ec8 100644 --- a/lib/Target/X86/X86RegisterInfo.cpp +++ b/lib/Target/X86/X86RegisterInfo.cpp @@ -511,6 +511,7 @@ MachineInstr* X86RegisterInfo::foldMemoryOperand(MachineInstr *MI, { X86::MOVPQIto64rr,X86::MOVPQIto64mr }, { X86::MOVPS2SSrr, X86::MOVPS2SSmr }, { X86::MOVSDrr, X86::MOVSDmr }, + { X86::MOVSS2DIrr, X86::MOVSS2DImr }, { X86::MOVSSrr, X86::MOVSSmr }, { X86::MOVUPDrr, X86::MOVUPDmr }, { X86::MOVUPSrr, X86::MOVUPSmr }, @@ -612,6 +613,7 @@ MachineInstr* X86RegisterInfo::foldMemoryOperand(MachineInstr *MI, { X86::MOVAPSrr, X86::MOVAPSrm }, { X86::MOVDDUPrr, X86::MOVDDUPrm }, { X86::MOVDI2PDIrr, X86::MOVDI2PDIrm }, + { X86::MOVDI2SSrr, X86::MOVDI2SSrm }, { X86::MOVSD2PDrr, X86::MOVSD2PDrm }, { X86::MOVSDrr, X86::MOVSDrm }, { X86::MOVSHDUPrr, X86::MOVSHDUPrm },