summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86DisassemblerTables.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-02-13 07:07:16 +0000
committerCraig Topper <craig.topper@gmail.com>2014-02-13 07:07:16 +0000
commit69e245c01d0dcbaeb9b0fc6c502729acbf12f3fc (patch)
tree2b2fce0f6d5ed0bfed19ebe80bab1f3ad88e2d20 /llvm/utils/TableGen/X86DisassemblerTables.cpp
parent7b6dfcf06ad1eb151f8f28df724ce5f2b06bb967 (diff)
downloadbcm5719-llvm-69e245c01d0dcbaeb9b0fc6c502729acbf12f3fc.tar.gz
bcm5719-llvm-69e245c01d0dcbaeb9b0fc6c502729acbf12f3fc.zip
Remove filtering concept from X86 disassembler table generation. It's no longer necessary.
llvm-svn: 201299
Diffstat (limited to 'llvm/utils/TableGen/X86DisassemblerTables.cpp')
-rw-r--r--llvm/utils/TableGen/X86DisassemblerTables.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/X86DisassemblerTables.cpp b/llvm/utils/TableGen/X86DisassemblerTables.cpp
index c473c34eae9..4d81d06e39b 100644
--- a/llvm/utils/TableGen/X86DisassemblerTables.cpp
+++ b/llvm/utils/TableGen/X86DisassemblerTables.cpp
@@ -796,9 +796,6 @@ void DisassemblerTables::setTableFields(ModRMDecision &decision,
InstructionSpecifier &previousInfo =
InstructionSpecifiers[decision.instructionIDs[index]];
- if(newInfo.filtered)
- continue; // filtered instructions get lowest priority
-
// Instructions such as MOV8ao8 and MOV8ao8_16 differ only in the
// presence of the AdSize prefix. However, the disassembler doesn't
// care about that difference in the instruction definition; it
@@ -817,8 +814,7 @@ void DisassemblerTables::setTableFields(ModRMDecision &decision,
if (outranks(previousInfo.insnContext, newInfo.insnContext))
continue;
- if (previousInfo.insnContext == newInfo.insnContext &&
- !previousInfo.filtered) {
+ if (previousInfo.insnContext == newInfo.insnContext) {
errs() << "Error: Primary decode conflict: ";
errs() << newInfo.name << " would overwrite " << previousInfo.name;
errs() << "\n";
OpenPOWER on IntegriCloud