From: Owen Anderson Date: Mon, 14 Mar 2011 20:58:49 +0000 (+0000) Subject: Ignore isCodeGenOnly instructions when generating diassembly tables. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4dd27ebcc2b218630899163504bc2641b9735466;p=oota-llvm.git Ignore isCodeGenOnly instructions when generating diassembly tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127619 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/FixedLenDecoderEmitter.cpp b/utils/TableGen/FixedLenDecoderEmitter.cpp index 2c222b39b13..bbcecabf761 100644 --- a/utils/TableGen/FixedLenDecoderEmitter.cpp +++ b/utils/TableGen/FixedLenDecoderEmitter.cpp @@ -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 InsnOperands;