[PATCH] D42069: [X86] Add missing predicates for VRNDSCALES{D, S}{m, r}

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 15 06:25:32 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL322486: [X86] Add missing predicates for VRNDSCALES{D,S}{m,r} (authored by courbet, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D42069

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
@@ -8019,7 +8019,7 @@
                                 _.ScalarIntMemCPat:$src2, (i32 imm:$src3))), itins.rm>,
                          Sched<[itins.Sched.Folded, ReadAfterLd]>;
 
-  let isCodeGenOnly = 1, hasSideEffects = 0 in {
+  let isCodeGenOnly = 1, hasSideEffects = 0, Predicates = [HasAVX512] in {
     def r : I<opc, MRMSrcReg, (outs _.FRC:$dst),
                (ins _.FRC:$src1, _.FRC:$src2, i32u8imm:$src3),
                OpcodeStr#"\t{$src3, $src2, $src1, $dst|$dst, $src1, $src2, $src3}",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42069.129854.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180115/389cf0b5/attachment.bin>


More information about the llvm-commits mailing list