[all-commits] [llvm/llvm-project] a190fc: [CSKY] Add inline asm constraints and related code...
Zi Xuan Wu (Zeson) via All-commits
all-commits at lists.llvm.org
Mon Feb 7 01:47:58 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a190fcdfcc54587f8dc3b574e0f4ebb7e6c67000
https://github.com/llvm/llvm-project/commit/a190fcdfcc54587f8dc3b574e0f4ebb7e6c67000
Author: Zi Xuan Wu <zixuan.wu at linux.alibaba.com>
Date: 2022-02-07 (Mon, 07 Feb 2022)
Changed paths:
M llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp
M llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
M llvm/lib/Target/CSKY/CSKYAsmPrinter.h
M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
M llvm/lib/Target/CSKY/CSKYISelLowering.cpp
M llvm/lib/Target/CSKY/CSKYISelLowering.h
M llvm/lib/Target/CSKY/CSKYRegisterInfo.cpp
A llvm/test/CodeGen/CSKY/inline-asm-abi-names.ll
A llvm/test/CodeGen/CSKY/inline-asm-clobbers.ll
A llvm/test/CodeGen/CSKY/inline-asm-d-constraint-f.ll
A llvm/test/CodeGen/CSKY/inline-asm-f-constraint-f.ll
A llvm/test/CodeGen/CSKY/inline-asm-float-abi-names.ll
A llvm/test/CodeGen/CSKY/inline-asm-invalid.ll
A llvm/test/CodeGen/CSKY/inline-asm.ll
Log Message:
-----------
[CSKY] Add inline asm constraints and related codegen support
There are kinds of inline asm constraints and corresponding register class or register as following.
'b': mGPRRegClass
'v': sGPRRegClass
'w': sFPR32RegClass or sFPR64RegClass
'c': C register
'z': R14 register
'h': HI register
'l': LO register
'y': HI or LO register
It also adds codegen test for inline-asm including constraints, clobbers and abi names.
More information about the All-commits
mailing list