From d4e1d9eeb297acaa47d619dbca838c263c755f0a Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 10 Mar 2008 19:31:26 +0000 Subject: Revert 48125, 48126, and 48130 for now to unbreak some x86-64 tests. llvm-svn: 48167 --- llvm/utils/TableGen/CodeGenInstruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/utils/TableGen/CodeGenInstruction.cpp') diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp index 8b706479077..0ee6b41d908 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.cpp +++ b/llvm/utils/TableGen/CodeGenInstruction.cpp @@ -163,7 +163,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr) isVariadic = true; continue; } else if (!Rec->isSubClassOf("RegisterClass") && - Rec->getName() != "ptr_rc" && Rec->getName() != "unknown") + Rec->getName() != "ptr_rc") throw "Unknown operand class '" + Rec->getName() + "' in instruction '" + R->getName() + "' instruction!"; -- cgit v1.2.3