aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/X86DisassemblerTables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/X86DisassemblerTables.cpp')
-rw-r--r--llvm/utils/TableGen/X86DisassemblerTables.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/X86DisassemblerTables.cpp b/llvm/utils/TableGen/X86DisassemblerTables.cpp
index 3c422a3..ed7a4fe 100644
--- a/llvm/utils/TableGen/X86DisassemblerTables.cpp
+++ b/llvm/utils/TableGen/X86DisassemblerTables.cpp
@@ -603,8 +603,7 @@ static inline bool inheritsFrom(InstructionContext child,
case IC_EVEX_W_OPSIZE_KZ_B_U:
return false;
default:
- errs() << "Unknown instruction class: "
- << stringForContext((InstructionContext)parent) << "\n";
+ errs() << "Unknown instruction class: " << stringForContext(parent) << "\n";
llvm_unreachable("Unknown instruction class");
}
}