]> granicus.if.org Git - llvm/commit
Merging r217432:
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 12 Mar 2015 19:12:54 +0000 (19:12 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 12 Mar 2015 19:12:54 +0000 (19:12 +0000)
commit33550d78eabbd08eb8652b9cf23098bf257823fa
treec99252132ffa4c5451235f5641081019c550eb73
parenta581c519159eff73fada2f70a6c528400446d761
Merging r217432:
------------------------------------------------------------------------
r217432 | tomatabacu | 2014-09-09 11:15:38 +0100 (Tue, 09 Sep 2014) | 12 lines

[mips] Add assembler support for .set push/pop directive.

Summary:
These directives are used to save the current assembler options (in the case of ".set push") and restore the previously saved options (in the case of ".set pop").

Contains work done by Matheus Almeida.

Reviewers: dsanders

Reviewed By: dsanders

Differential Revision: http://reviews.llvm.org/D4821
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@232082 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
lib/Target/Mips/MipsTargetStreamer.h
test/MC/Mips/set-push-pop-directives-bad.s [new file with mode: 0644]
test/MC/Mips/set-push-pop-directives.s [new file with mode: 0644]