[X86] Enforce agreement of AdSize field when autogenerating load folding table entries.

llvm-svn: 334473
This commit is contained in:
Craig Topper 2018-06-12 04:34:58 +00:00
parent aea8ece102
commit 869c54e72e
1 changed files with 1 additions and 0 deletions

View File

@ -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") !=