diff options
author | wanglei <wanglei@loongson.cn> | 2023-07-07 09:46:19 +0800 |
---|---|---|
committer | wanglei <wanglei@loongson.cn> | 2023-07-07 11:21:53 +0800 |
commit | 1aa3b64ed2781f064a40b0f9bd196a1265f50b3c (patch) | |
tree | 7a7f80f13095a2b9bd46fc54cd15e0145e9d2017 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2dcba670070b558d1e0148de906e7368562dc07a (diff) | |
download | llvm-1aa3b64ed2781f064a40b0f9bd196a1265f50b3c.zip llvm-1aa3b64ed2781f064a40b0f9bd196a1265f50b3c.tar.gz llvm-1aa3b64ed2781f064a40b0f9bd196a1265f50b3c.tar.bz2 |
[LoongArch] Add definition for LSX instructions
This patch adds the definition for the `LSX` registers and instructions.
It also adds handling for new immediate operands in the AsmParser. This
patch ensures that llvm-mc and llvm-objdump correctly handle the `LSX`
instructions.
We expand those pseudo-instructions `vrepli.{b,h,w,d}` in the
MCCodeEmitter. This increases the readability of the output when
generating assembly files.
Reviewed By: SixWeining
Differential Revision: https://reviews.llvm.org/D154183
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions