[mips] Allow constant expressions in second argument of .cpsetup.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 21 Sep 2015 09:26:55 +0000 (09:26 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 21 Sep 2015 09:26:55 +0000 (09:26 +0000)
commit99351d8c0e93ca5860b1cd995ec0e2d96761615c
tree834832a409be02b4b16bce13ac1870671685c2d8
parent795a06a0465c180d5881e82c04709918aace7278
[mips] Allow constant expressions in second argument of .cpsetup.

Summary:
Also tightened up the test and made a trivial fix to prevent double-newline
after emitting .cpsetup directives.

Reviewers: vkalintiris

Subscribers: seanbruno, emaste, llvm-commits

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

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