From c8fd2c57c8fe8f382dbd43abebb26a6e0fdbd83f Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 6 Jan 2014 06:57:27 +0000 Subject: [PATCH] The rest of r198588. Remove SegOvrBits from X86 TSFlags since they weren't being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198589 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/X86RecognizableInstr.cpp | 7 ------- utils/TableGen/X86RecognizableInstr.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp index 75bf4130774..1df04224376 100644 --- a/utils/TableGen/X86RecognizableInstr.cpp +++ b/utils/TableGen/X86RecognizableInstr.cpp @@ -230,7 +230,6 @@ RecognizableInstr::RecognizableInstr(DisassemblerTables &tables, Prefix = byteFromRec(Rec, "Prefix"); Opcode = byteFromRec(Rec, "Opcode"); Form = byteFromRec(Rec, "FormBits"); - SegOvr = byteFromRec(Rec, "SegOvrBits"); HasOpSizePrefix = Rec->getValueAsBit("hasOpSizePrefix"); HasAdSizePrefix = Rec->getValueAsBit("hasAdSizePrefix"); @@ -490,12 +489,6 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const { // Filter out artificial instructions but leave in the LOCK_PREFIX so it is // printed as a separate "instruction". - // Filter out instructions with segment override prefixes. - // They're too messy to handle now and we'll special case them if needed. - - if (SegOvr) - return FILTER_STRONG; - ///////////////// // FILTER_WEAK diff --git a/utils/TableGen/X86RecognizableInstr.h b/utils/TableGen/X86RecognizableInstr.h index ff111a3dabc..ef3bdfee254 100644 --- a/utils/TableGen/X86RecognizableInstr.h +++ b/utils/TableGen/X86RecognizableInstr.h @@ -44,8 +44,6 @@ private: uint8_t Opcode; /// The form field from the record uint8_t Form; - /// The segment override field from the record - uint8_t SegOvr; /// The hasOpSizePrefix field from the record bool HasOpSizePrefix; /// The hasAdSizePrefix field from the record -- 2.34.1