diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2011-07-07 23:56:50 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-07-07 23:56:50 +0000 |
commit | 794bf17cbe0bac301ef9e52fb4a0295bfdfe0cab (patch) | |
tree | 97053482629ce9b839e67d08288ac75ee6fecc4b /lib/Target/Mips/Mips.td | |
parent | b2760f82b14c2981b2e52a411a82f321dcdf7000 (diff) | |
download | external_llvm-794bf17cbe0bac301ef9e52fb4a0295bfdfe0cab.zip external_llvm-794bf17cbe0bac301ef9e52fb4a0295bfdfe0cab.tar.gz external_llvm-794bf17cbe0bac301ef9e52fb4a0295bfdfe0cab.tar.bz2 |
Lower MachineInstr to MC Inst and print to .s files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips.td')
-rw-r--r-- | lib/Target/Mips/Mips.td | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips.td b/lib/Target/Mips/Mips.td index b79016d..433cd57 100644 --- a/lib/Target/Mips/Mips.td +++ b/lib/Target/Mips/Mips.td @@ -88,6 +88,14 @@ def : Proc<"allegrex", [FeatureMips2, FeatureSingleFloat, FeatureEABI, FeatureVFPU, FeatureSEInReg, FeatureCondMov, FeatureMulDivAdd, FeatureMinMax, FeatureSwap, FeatureBitCount]>; +def MipsAsmWriter : AsmWriter { + string AsmWriterClassName = "InstPrinter"; + bit isMCAsmWriter = 1; +} + def Mips : Target { let InstructionSet = MipsInstrInfo; + + let AssemblyWriters = [MipsAsmWriter]; } + |