[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)
commitea60f51d876e3a1c56dd621765f04b65ff3aa763
tree0715324173d92454d7945fc1fe3d4062445c0a50
parent10f28ec3ef373dd00dfb6e39ee9a4aa59bb8d123
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221447 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/cpload-bad.s
test/MC/Mips/cpload.s