[mips] [IAS] Fix error messages for using LI with 64-bit immediates.
authorToma Tabacu <toma.tabacu@imgtec.com>
Fri, 1 May 2015 12:19:27 +0000 (12:19 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Fri, 1 May 2015 12:19:27 +0000 (12:19 +0000)
commit62e5ebfaef9e058d1182de155c335fcc807a8914
treefd2a6bf35c0706f54d9658aeaef7d16c92e1323b
parent16b7c0f4fb6781ac47016d020e65434e9f465119
[mips] [IAS] Fix error messages for using LI with 64-bit immediates.

Summary:
LI should never accept immediates larger than 32 bits.
The additional Is32BitImm boolean also paves the way for unifying the functionality that LA and LI have in common.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

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

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