[llvm] r334473 - [X86] Enforce agreement of AdSize field when autogenerating load folding table entries.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 11 21:34:58 PDT 2018
Author: ctopper
Date: Mon Jun 11 21:34:58 2018
New Revision: 334473
URL: http://llvm.org/viewvc/llvm-project?rev=334473&view=rev
Log:
[X86] Enforce agreement of AdSize field when autogenerating load folding table entries.
Modified:
llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp
Modified: llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp?rev=334473&r1=334472&r2=334473&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/X86FoldTablesEmitter.cpp Mon Jun 11 21:34:58 2018
@@ -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") !=
More information about the llvm-commits
mailing list