Add an option to not print the alias of an instruction. It defaults to "print
[oota-llvm.git] / utils / TableGen / FixedLenDecoderEmitter.cpp
index 2c222b39b13780a6eb1ae533cc1ac6ebb0fccd45..bbcecabf761e133e20119ba90eb5ef8a5f65e27b 100644 (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;