[PATCH] D24443: [AVX512] Fix pattern for vgetmantsd instruction

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 11 05:47:34 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL281164: [AVX512] Fix pattern for vgetmantsd and all other instructions that use sameā€¦ (authored by ibreger).

Changed prior to commit:
  https://reviews.llvm.org/D24443?vs=70962&id=70963#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24443

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

Index: llvm/trunk/lib/Target/X86/X86InstrAVX512.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td
@@ -7587,20 +7587,13 @@
                               (i32 imm:$src3),
                               (i32 FROUND_CURRENT))>;
   defm rmi : AVX512_maskable_scalar<opc, MRMSrcMem, _, (outs _.RC:$dst),
-                    (ins _.RC:$src1, _.MemOp:$src2, i32u8imm:$src3),
+                    (ins _.RC:$src1, _.ScalarMemOp:$src2, i32u8imm:$src3),
                     OpcodeStr, "$src3, $src2, $src1", "$src1, $src2, $src3",
                     (OpNode (_.VT _.RC:$src1),
                             (_.VT (scalar_to_vector
                                       (_.ScalarLdFrag addr:$src2))),
                             (i32 imm:$src3),
                             (i32 FROUND_CURRENT))>;
-
-  let isAsmParserOnly = 1, mayLoad = 1, hasSideEffects = 0 in {
-    defm rmi_alt :AVX512_maskable_in_asm<opc, MRMSrcMem, _, (outs _.FRC:$dst),
-                    (ins _.FRC:$src1, _.ScalarMemOp:$src2, u8imm:$src3),
-                    OpcodeStr, "$src3, $src2, $src1", "$src1, $src2, $src3",
-                    []>;
-  }
   }
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24443.70963.patch
Type: text/x-patch
Size: 1250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160911/07c42fbf/attachment.bin>


More information about the llvm-commits mailing list