diff options
author | Jack Carter <jack.carter@imgtec.com> | 2013-11-19 01:25:18 +0000 |
---|---|---|
committer | Jack Carter <jack.carter@imgtec.com> | 2013-11-19 01:25:18 +0000 |
commit | e53969b4758274ee833ce3acef37134bcf6554ea (patch) | |
tree | 13b40eb198c3e8d2f94d5637c3cf04a0eb979004 /lib/Target/Mips/MipsAsmPrinter.cpp | |
parent | 354362524a72b3fa43a6c09380b7ae3b2380cbba (diff) | |
download | llvm-e53969b4758274ee833ce3acef37134bcf6554ea.tar.gz llvm-e53969b4758274ee833ce3acef37134bcf6554ea.tar.bz2 llvm-e53969b4758274ee833ce3acef37134bcf6554ea.tar.xz |
[Mips] Support for MicroMips STO refactoring.
No true functional changes.
Change the "hack" name of emitMipsHackSTOCG to emitSymSTO.
Remove demonstration code in AsmParser for emitMipsHackSTOCG and
emitMipsHackELFFlags. The STO field is in an ELF symbol and is not
an explicit directive. That said, we are missing the compliment call
in AsmParser and that will need to be addressed soon.
XFAIL dummy tests for emitMipsHackELFFlags and emitMipsHackELFFlags.
These will built out with following patches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsAsmPrinter.cpp')
-rw-r--r-- | lib/Target/Mips/MipsAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsAsmPrinter.cpp b/lib/Target/Mips/MipsAsmPrinter.cpp index 45c4398264..f517c0b5f0 100644 --- a/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/lib/Target/Mips/MipsAsmPrinter.cpp @@ -276,8 +276,8 @@ void MipsAsmPrinter::EmitFunctionEntryLabel() { } if (Subtarget->inMicroMipsMode()) - getTargetStreamer().emitMipsHackSTOCG(CurrentFnSym, - (unsigned)ELF::STO_MIPS_MICROMIPS); + getTargetStreamer().emitSymSTO(CurrentFnSym, + (unsigned)ELF::STO_MIPS_MICROMIPS); OutStreamer.EmitLabel(CurrentFnSym); } |