[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)
commit00e9867988427f30f7f6b9331d78ce3732e8feec
treef8878a665fc591e00e09cc6519963004e5178c87
parentb0e3c348ab3b8dc68219832351ada4e02eade960
[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

llvm-svn: 236313
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/test/MC/Mips/mips-expansions-bad.s