[CSKY] Complete codegen of basic arithmetic and load/store operations
Complete basic arithmetic operations such as add/sub/mul/div, and it also includes converions and some specific operations such as bswap.Add load/store patterns to generate different addressing mode instructions. Also enable some infra such as copy physical register and eliminate frame index.
Showing
- llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp 88 additions, 1 deletionllvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
- llvm/lib/Target/CSKY/CSKYISelLowering.cpp 40 additions, 0 deletionsllvm/lib/Target/CSKY/CSKYISelLowering.cpp
- llvm/lib/Target/CSKY/CSKYInstrInfo.cpp 288 additions, 0 deletionsllvm/lib/Target/CSKY/CSKYInstrInfo.cpp
- llvm/lib/Target/CSKY/CSKYInstrInfo.h 25 additions, 0 deletionsllvm/lib/Target/CSKY/CSKYInstrInfo.h
- llvm/lib/Target/CSKY/CSKYInstrInfo.td 101 additions, 0 deletionsllvm/lib/Target/CSKY/CSKYInstrInfo.td
- llvm/lib/Target/CSKY/CSKYRegisterInfo.cpp 179 additions, 0 deletionsllvm/lib/Target/CSKY/CSKYRegisterInfo.cpp
- llvm/lib/Target/CSKY/CSKYRegisterInfo.h 12 additions, 0 deletionsllvm/lib/Target/CSKY/CSKYRegisterInfo.h
- llvm/test/CodeGen/CSKY/base-i.ll 1052 additions, 1 deletionllvm/test/CodeGen/CSKY/base-i.ll
- llvm/test/CodeGen/CSKY/cvt-i.ll 216 additions, 0 deletionsllvm/test/CodeGen/CSKY/cvt-i.ll
- llvm/test/CodeGen/CSKY/intrinsic.ll 36 additions, 0 deletionsllvm/test/CodeGen/CSKY/intrinsic.ll
- llvm/test/CodeGen/CSKY/ldst-i.ll 449 additions, 0 deletionsllvm/test/CodeGen/CSKY/ldst-i.ll
- llvm/test/CodeGen/CSKY/rotl.ll 28 additions, 0 deletionsllvm/test/CodeGen/CSKY/rotl.ll
Loading
Please register or sign in to comment