aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-18 07:16:44 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-18 07:16:44 +0000
commitfe754512dcab6bb4bce4d3ea370c3202894e711b (patch)
treeda590e78dc8bfb50d059f85e3ee472e7daa98f49 /lib/Target/X86
parentf7c45ce3f59d993b1b7f8edbe07304328ac71b12 (diff)
downloadexternal_llvm-fe754512dcab6bb4bce4d3ea370c3202894e711b.zip
external_llvm-fe754512dcab6bb4bce4d3ea370c3202894e711b.tar.gz
external_llvm-fe754512dcab6bb4bce4d3ea370c3202894e711b.tar.bz2
Fix copy and paste bug from r186491 to make v2f64 use MOVAPD/MOVUPD as it should.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index 8c9575c..5bc3420 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -270,9 +270,9 @@ X86FastISel::X86FastEmitStore(EVT VT, unsigned ValReg,
break;
case MVT::v2f64:
if (Aligned)
- Opc = Subtarget->hasAVX() ? X86::VMOVAPSmr : X86::MOVAPSmr;
+ Opc = Subtarget->hasAVX() ? X86::VMOVAPDmr : X86::MOVAPDmr;
else
- Opc = Subtarget->hasAVX() ? X86::VMOVUPSmr : X86::MOVUPSmr;
+ Opc = Subtarget->hasAVX() ? X86::VMOVUPDmr : X86::MOVUPDmr;
break;
case MVT::v4i32:
case MVT::v2i64: