Ignore isCodeGenOnly instructions when generating diassembly tables.

llvm-svn: 127619
This commit is contained in:
Owen Anderson 2011-03-14 20:58:49 +00:00
parent 59a549b7ec
commit 0fabf10388
1 changed files with 2 additions and 1 deletions

View File

@ -1224,7 +1224,8 @@ bool FixedLenDecoderEmitter::populateInstruction(const CodeGenInstruction &CGI,
if (Bits.allInComplete()) return false;
// Ignore "asm parser only" instructions.
if (Def.getValueAsBit("isAsmParserOnly"))
if (Def.getValueAsBit("isAsmParserOnly") ||
Def.getValueAsBit("isCodeGenOnly"))
return false;
std::vector<OperandInfo> InsnOperands;