[mips] [IAS] Add support for LASym with identical source and destination register...
authorToma Tabacu <toma.tabacu@imgtec.com>
Mon, 22 Jun 2015 12:08:39 +0000 (12:08 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Mon, 22 Jun 2015 12:08:39 +0000 (12:08 +0000)
commitd174678830a18163a7ca749080d5d1be8d5cd823
treed60ec583047b40e9b87b88052fb394d8dfd61409
parent4f1ddd396b6da217f8a85547990d1d887435bacd
[mips] [IAS] Add support for LASym with identical source and destination register operands.

Summary:
In this case, we're supposed to load the address of the symbol in AT and then ADDu it with the source register and
put it in the destination register.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

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

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