diff options
| author | chenli <chenli@loongson.cn> | 2023-07-25 09:02:14 +0800 |
|---|---|---|
| committer | Weining Lu <luweining@loongson.cn> | 2023-07-25 09:02:29 +0800 |
| commit | d25c79dc70008b835312e5cc7ef48b199fda3165 (patch) | |
| tree | f62d8adb179cf33809dfd12c092419bd4f32512a /mlir/lib/Bytecode/Reader/BytecodeReader.cpp | |
| parent | c299efbf284fae92bb8d7d29110f76912f089daf (diff) | |
| download | llvm-d25c79dc70008b835312e5cc7ef48b199fda3165.zip llvm-d25c79dc70008b835312e5cc7ef48b199fda3165.tar.gz llvm-d25c79dc70008b835312e5cc7ef48b199fda3165.tar.bz2 | |
[LoongArch] Support InlineAsm for LSX and LASX
The author of the following files is licongtian <licongtian@loongson.cn>:
- clang/lib/Basic/Targets/LoongArch.cpp
- llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
- llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
The files mentioned above implement InlineAsm for LSX and LASX as follows:
- Enable clang parsing LSX/LASX register name, such as $vr0.
- Support the case which operand type is 128bit or 256bit when the
constraints is 'f'.
- Support the way of specifying LSX/LASX register by using constraint,
such as "={$xr0}".
- Support the operand modifiers 'u' and 'w'.
- Support and legalize the data types and register classes involved in
LSX/LASX in the lowering process.
Reviewed By: xen0n, SixWeining
Differential Revision: https://reviews.llvm.org/D154931
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
