mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Change the default of AsmWriterClassName and isMCAsmWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -205,14 +205,6 @@ def : Proc<"hexagonv3", HexagonModel, [ArchV2, ArchV3]>;
|
||||
def : Proc<"hexagonv4", HexagonModelV4, [ArchV2, ArchV3, ArchV4]>;
|
||||
def : Proc<"hexagonv5", HexagonModelV4, [ArchV2, ArchV3, ArchV4, ArchV5]>;
|
||||
|
||||
|
||||
// Hexagon Uses the MC printer for assembler output, so make sure the TableGen
|
||||
// AsmWriter bits get associated with the correct class.
|
||||
def HexagonAsmWriter : AsmWriter {
|
||||
string AsmWriterClassName = "InstPrinter";
|
||||
bit isMCAsmWriter = 1;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Declare the target which we are implementing
|
||||
//===----------------------------------------------------------------------===//
|
||||
@@ -220,6 +212,4 @@ def HexagonAsmWriter : AsmWriter {
|
||||
def Hexagon : Target {
|
||||
// Pull in Instruction Info:
|
||||
let InstructionSet = HexagonInstrInfo;
|
||||
|
||||
let AssemblyWriters = [HexagonAsmWriter];
|
||||
}
|
||||
|
Reference in New Issue
Block a user