HomePhabricator

[RISCV] AsmParser support for the li pseudo instruction

Description

[RISCV] AsmParser support for the li pseudo instruction

The implementation follows the MIPS backend and expands the pseudo instruction
directly during asm parsing. As the result, only real MC instructions are
emitted to the MCStreamer. The actual expansion to real instructions is
similar to the expansion performed by the GNU Assembler.

This patch supersedes D41949.

Differential Revision: https://reviews.llvm.org/D46118
Patch by Mario Werner.

Details

Committed
asbJun 7 2018, 8:35 AM
Differential Revision
D46118: [RISCV] AsmParser support for the li pseudo instruction
Parents
rL334202: [AVR] Fix build after r334078
Branches
Unknown
Tags
Unknown