diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-08 22:30:35 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-08 22:30:35 +0000 |
commit | 61c8eccf24eb2368decfc669780c090fa1f25548 (patch) | |
tree | e75ae723dd374d654ff2dd281d1695632d2c9b75 /lib/Target | |
parent | c0e2639a3450e5cca5cd5082cef55a64bbd27ad4 (diff) | |
download | external_llvm-61c8eccf24eb2368decfc669780c090fa1f25548.zip external_llvm-61c8eccf24eb2368decfc669780c090fa1f25548.tar.gz external_llvm-61c8eccf24eb2368decfc669780c090fa1f25548.tar.bz2 |
Remember the VR64 register class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/X86InstrInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 1be64589..6a6e861 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -2080,6 +2080,8 @@ void X86InstrInfo::copyPhysReg(MachineBasicBlock &MBB, Opc = X86::MOV8rr; } else if (X86::VR128RegClass.contains(DestReg, SrcReg)) Opc = X86::MOVAPSrr; + else if (X86::VR64RegClass.contains(DestReg, SrcReg)) + Opc = X86::MMX_MOVQ64rr; if (Opc) { BuildMI(MBB, MI, DL, get(Opc), DestReg) |