From 869c54e72eae01dc69ca10280593acd3a8ab46e6 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 12 Jun 2018 04:34:58 +0000 Subject: [PATCH] [X86] Enforce agreement of AdSize field when autogenerating load folding table entries. llvm-svn: 334473 --- llvm/utils/TableGen/X86FoldTablesEmitter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/utils/TableGen/X86FoldTablesEmitter.cpp b/llvm/utils/TableGen/X86FoldTablesEmitter.cpp index 90116b25a2f3..1ebe9f9f8f08 100644 --- a/llvm/utils/TableGen/X86FoldTablesEmitter.cpp +++ b/llvm/utils/TableGen/X86FoldTablesEmitter.cpp @@ -335,6 +335,7 @@ public: MemRec->getValueAsDef("OpPrefix") || RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") || RegRec->getValueAsDef("OpSize") != MemRec->getValueAsDef("OpSize") || + RegRec->getValueAsDef("AdSize") != MemRec->getValueAsDef("AdSize") || RegRec->getValueAsBit("hasVEX_4V") != MemRec->getValueAsBit("hasVEX_4V") || RegRec->getValueAsBit("hasEVEX_K") !=