[PATCH] D32786: [AVX] Fix vpcmpeqq predicate.

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 23:37:56 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL302119: [AVX] Fix vpcmpeqq predicate. (authored by ibreger).

Changed prior to commit:
  https://reviews.llvm.org/D32786?vs=97561&id=97779#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D32786

Files:
  llvm/trunk/lib/Target/X86/X86InstrSSE.td


Index: llvm/trunk/lib/Target/X86/X86InstrSSE.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSSE.td
+++ llvm/trunk/lib/Target/X86/X86InstrSSE.td
@@ -6718,14 +6718,15 @@
                                   SSE_INTMUL_ITINS_P, 1>;
 }
 
-let Predicates = [HasAVX, NoVLX] in {
+let Predicates = [HasAVX, NoVLX] in
   defm VPMULLD  : SS48I_binop_rm<0x40, "vpmulld", mul, v4i32, VR128,
                                  loadv2i64, i128mem, 0, SSE_PMULLD_ITINS>,
                                  VEX_4V, VEX_WIG;
+let Predicates = [HasAVX] in
   defm VPCMPEQQ : SS48I_binop_rm<0x29, "vpcmpeqq", X86pcmpeq, v2i64, VR128,
                                  loadv2i64, i128mem, 0, SSE_INTALU_ITINS_P>,
                                  VEX_4V, VEX_WIG;
-}
+
 let Predicates = [HasAVX2] in {
   defm VPMULLDY  : SS48I_binop_rm<0x40, "vpmulld", mul, v8i32, VR256,
                                   loadv4i64, i256mem, 0, SSE_PMULLD_ITINS>,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32786.97779.patch
Type: text/x-patch
Size: 989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170504/ef057151/attachment.bin>


More information about the llvm-commits mailing list