[llvm] r181729 - Mips assembler: Assembler macro ADDIU $rs,imm

Tim Northover t.p.northover at gmail.com
Mon May 13 14:02:52 PDT 2013


Hi Jack,

> This patch adds alias for addiu instruction which enables following syntax:
>
>     addiu $rs,imm
>
> The macro is translated as:
>
>     addiu $rs,$rs,imm

I'm not sure how generic this is in MIPS, but if there are more you
may want to look into the "TwoOperandAliasConstraint" field. It seems
to have been made to deal with this particular syntax variant.

Tim.



More information about the llvm-commits mailing list