[mips] Small update to the logic behind the expansion of assembly pseudo instructions.
authorMatheus Almeida <matheus.almeida@imgtec.com>
Thu, 19 Jun 2014 14:39:14 +0000 (14:39 +0000)
committerMatheus Almeida <matheus.almeida@imgtec.com>
Thu, 19 Jun 2014 14:39:14 +0000 (14:39 +0000)
commit27107726551771a102be3043fa9e7aeffa2f8023
tree4b3a9862631917beb416170594f9ffc043494cde
parentdc9bdcc2cbd027e38d0abfdf36ff3fa59453d8be
[mips] Small update to the logic behind the expansion of assembly pseudo instructions.

Summary:
The functions that do the expansion now return false on success and true otherwise. This is so
we can catch some errors during the expansion (e.g.: immediate too large). The next patch adds some test cases.

Reviewers: vmedic

Reviewed By: vmedic

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211269 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp