summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-01-16 00:55:58 +0000
committerCraig Topper <craig.topper@gmail.com>2017-01-16 00:55:58 +0000
commit7dfd58364445e625e00185b09cf23d95cd485c1c (patch)
tree7654aa969a7f041ce0b6c1615ef305e8a8ab39f1 /llvm/utils/TableGen/X86RecognizableInstr.cpp
parent8be6ebce2bac4990eb06e077643e48297ad5d656 (diff)
downloadbcm5719-llvm-7dfd58364445e625e00185b09cf23d95cd485c1c.tar.gz
bcm5719-llvm-7dfd58364445e625e00185b09cf23d95cd485c1c.zip
[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
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp2
1 files changed, 2 insertions, 0 deletions
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");
OpenPOWER on IntegriCloud