1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00

[AVR] Enable the instruction printer in the target definition

llvm-svn: 283309
This commit is contained in:
Dylan McKay 2016-10-05 10:23:38 +00:00
parent f721f60cf8
commit cc64dacb9a

View File

@ -530,10 +530,10 @@ include "AVRCallingConv.td"
// Assembly Printers
//===---------------------------------------------------------------------===//
// def AVRAsmWriter : AsmWriter {
// string AsmWriterClassName = "InstPrinter";
// bit isMCAsmWriter = 1;
// }
def AVRAsmWriter : AsmWriter {
string AsmWriterClassName = "InstPrinter";
bit isMCAsmWriter = 1;
}
//===---------------------------------------------------------------------===//
// Assembly Parsers
@ -558,7 +558,7 @@ def AVRAsmParserVariant : AsmParserVariant {
def AVR : Target {
let InstructionSet = AVRInstrInfo;
/* let AssemblyWriters = [AVRAsmWriter]; */
let AssemblyWriters = [AVRAsmWriter];
let AssemblyParsers = [AVRAsmParser];
let AssemblyParserVariants = [AVRAsmParserVariant];