aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorwanglei <wanglei@loongson.cn>2022-11-21 15:36:28 +0800
committerwanglei <wanglei@loongson.cn>2022-11-21 16:33:47 +0800
commitf873c50caa597051e7cbff50116da83b8a9171c9 (patch)
treeb09de496533f46a76ca3f54ad3bf23b94765b0be /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent846cdf0198397ca37f5929e3f6b23224b16129c4 (diff)
downloadllvm-f873c50caa597051e7cbff50116da83b8a9171c9.zip
llvm-f873c50caa597051e7cbff50116da83b8a9171c9.tar.gz
llvm-f873c50caa597051e7cbff50116da83b8a9171c9.tar.bz2
[LoongArch] AsmParser support for the li.[wd] pseudo instructions
The `li.[wd]` pseudo instructions are used to load an immediate value into a GPR. These expand 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 GAS. Note: The `li.w` always treats the imm operand as a 32-bit signed value. Reviewed By: SixWeining Differential Revision: https://reviews.llvm.org/D138086
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions