[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:20:05 PST 2018
courbet created this revision.
courbet added a reviewer: gchatelet.
This is similar to https://reviews.llvm.org/D41983.
Repository:
rL LLVM
https://reviews.llvm.org/D42069
Files:
lib/Target/X86/X86InstrAVX512.td
Index: lib/Target/X86/X86InstrAVX512.td
===================================================================
--- lib/Target/X86/X86InstrAVX512.td
+++ 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.129851.patch
Type: text/x-patch
Size: 688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180115/b6dda866/attachment.bin>
More information about the llvm-commits
mailing list