[mips] [IAS] Add missing constraints and improve testing for the .module directive.
authorToma Tabacu <toma.tabacu@imgtec.com>
Fri, 6 Mar 2015 12:15:12 +0000 (12:15 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Fri, 6 Mar 2015 12:15:12 +0000 (12:15 +0000)
commit25c285095245e679a32be8b249f0b1d831b74d39
tree924d19e61e01ba1723cf8b5da7e6b3140cc5cbdc
parent90e6a21e85130976deab9dc2cc47d6a7dff42153
[mips] [IAS] Add missing constraints and improve testing for the .module directive.

Summary:
None of the .set directives can be used before the .module directives. The .set mips0/pop/push were not triggering this constraint.
Also added testing for all the other implemented directives which are supposed to trigger this constraint.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D7140

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231465 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/mips-abi-bad.s
test/MC/Mips/module-directive-bad.s [new file with mode: 0644]