[mips] Improve error/warning messages and testing for the .cpload assembler directive.
authorToma Tabacu <toma.tabacu@imgtec.com>
Thu, 6 Nov 2014 10:02:45 +0000 (10:02 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Thu, 6 Nov 2014 10:02:45 +0000 (10:02 +0000)
commitdde4c464dd8c8d6abe6be7ce7c1eaf307309197f
tree508f65aee405144fb5eab3bae428cdcbf00535e9
parent66e799ff1b5b31300fbe06185fac81c4402fe18a
[mips] Improve error/warning messages and testing for the .cpload assembler directive.

Summary:
Improved warning message when using .cpload inside a reorder section and added an error message for using .cpload with Mips16 enabled.
Modified the tests to fit with the changes mentioned above, added a test-case for the N32 ABI in cpload.s and did some reformatting to make the tests easier to read.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

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

llvm-svn: 221447
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/test/MC/Mips/cpload-bad.s
llvm/test/MC/Mips/cpload.s