From e23fc60854b0e464b9fd22865c06cdc269a26638 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 16 Nov 2006 23:22:26 +0000 Subject: [PATCH] Fix a potential bug: MOVPDI2DI, etc. are not copy instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31794 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrInfo.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 8a1cb36290a..a2043a64810 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -44,9 +44,7 @@ bool X86InstrInfo::isMoveInstr(const MachineInstr& MI, oc == X86::FsMOVAPSrr || oc == X86::FsMOVAPDrr || oc == X86::MOVAPSrr || oc == X86::MOVAPDrr || oc == X86::MOVSS2PSrr || oc == X86::MOVSD2PDrr || - oc == X86::MOVPS2SSrr || oc == X86::MOVPD2SDrr || - oc == X86::MOVDI2PDIrr || oc == X86::MOVQI2PQIrr || - oc == X86::MOVPDI2DIrr) { + oc == X86::MOVPS2SSrr || oc == X86::MOVPD2SDrr) { assert(MI.getNumOperands() == 2 && MI.getOperand(0).isRegister() && MI.getOperand(1).isRegister() && -- 2.34.1