From 7dfd58364445e625e00185b09cf23d95cd485c1c Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 16 Jan 2017 00:55:58 +0000 Subject: [AVX-512] Correct memory operand size for VPGATHERQPS and VPGATHERQD with ZMM index. Similar for SCATTER and the prefetch gather and scatter instructions. Fixes PR31618. llvm-svn: 292088 --- llvm/utils/TableGen/X86RecognizableInstr.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp') diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp index 4736c4e510d..d19239b3261 100644 --- a/llvm/utils/TableGen/X86RecognizableInstr.cpp +++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp @@ -1058,6 +1058,7 @@ OperandType RecognizableInstr::typeFromString(const std::string &s, TYPE("vy128xmem", TYPE_M128) TYPE("vy256xmem", TYPE_M256) TYPE("vy512mem", TYPE_M512) + TYPE("vz256xmem", TYPE_M256) TYPE("vz512mem", TYPE_M512) TYPE("BNDR", TYPE_BNDR) errs() << "Unhandled type string " << s << "\n"; @@ -1253,6 +1254,7 @@ RecognizableInstr::memoryEncodingFromString(const std::string &s, ENCODING("vy128xmem", ENCODING_RM) ENCODING("vy256xmem", ENCODING_RM) ENCODING("vy512mem", ENCODING_RM) + ENCODING("vz256xmem", ENCODING_RM) ENCODING("vz512mem", ENCODING_RM) errs() << "Unhandled memory encoding " << s << "\n"; llvm_unreachable("Unhandled memory encoding"); -- cgit v1.2.3