Method parseSetAssignment treats every operand with '$' sign as register and the...
authorVladimir Medic <Vladimir.Medic@imgtec.com>
Mon, 9 Dec 2013 11:03:25 +0000 (11:03 +0000)
committerVladimir Medic <Vladimir.Medic@imgtec.com>
Mon, 9 Dec 2013 11:03:25 +0000 (11:03 +0000)
commit84744f691666de0e9da311ad668e4d1f93c5efe9
treea09c10f284c7682ca9b7d7bae524d820cf43599a
parent4062ed87621c6b63aec12559880c7e5429964448
Method parseSetAssignment treats every operand with '$' sign as register and the parsing is directed to set alias for register. This will result in errors reported when expressions containing label references are parsed(for example long jumps)
As we can't make a complete solution now it has been decided to enable .set directive to handle long jump expressions. This will cause parser to report errors when parsing integer based register assignments, for example:
   .set r3, will be reported as error. Still, the need for expressions is higher priority as the integer based register assignments are Mips specific and can be avoided using register names.

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