[PATCH] D21067: [AVX512] Fix load opcode for fast isel.

Igor Breger via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 05:07:32 PDT 2016


igorb created this revision.
igorb added reviewers: delena, craig.topper.
igorb added a subscriber: llvm-commits.
igorb set the repository for this revision to rL LLVM.

[AVX512] Fix load opcode for fast isel.

Repository:
  rL LLVM

http://reviews.llvm.org/D21067

Files:
  lib/Target/X86/X86FastISel.cpp

Index: lib/Target/X86/X86FastISel.cpp
===================================================================
--- lib/Target/X86/X86FastISel.cpp
+++ lib/Target/X86/X86FastISel.cpp
@@ -452,7 +452,7 @@
     assert(Subtarget->hasAVX512());
     // Note: There are a lot more choices based on type with AVX-512, but
     // there's really no advantage when the load isn't masked.
-    Opc = (Alignment >= 64) ? X86::VMOVDQA64Zmr : X86::VMOVDQU64Zmr;
+    Opc = (Alignment >= 64) ? X86::VMOVDQA64Zrm : X86::VMOVDQU64Zrm;
     RC  = &X86::VR512RegClass;
     break;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21067.59867.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160607/9109ecfd/attachment.bin>


More information about the llvm-commits mailing list