[mips] Enable `la` pseudo instruction on 64-bit arch.
authorSimon Atanasyan <simon@atanasyan.com>
Mon, 11 Nov 2019 21:10:31 +0000 (00:10 +0300)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 15 Nov 2019 20:38:14 +0000 (23:38 +0300)
commit6108eb4e5c9fa4b1334048659810ae2fd1c92963
treed8970c95133b6ed9d4ce5c87f6d07236c4aeaace
parent0287efb891c1da33d8eb01889f18ef71cd689ebc
[mips] Enable `la` pseudo instruction on 64-bit arch.

This patch makes LLVM compatible with GAS. It accepts `la` pseudo
instruction on arch with 64-bit pointers and just shows a warning.

Differential Revision: https://reviews.llvm.org/D70202
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/test/MC/Mips/macro-la-64bit.s [new file with mode: 0644]
llvm/test/MC/Mips/macro-la-bad.s