[all-commits] [llvm/llvm-project] 27c185: [CSKY] Add missing codegen pattern for 16-bit inst...

Zi Xuan Wu (Zeson) via All-commits all-commits at lists.llvm.org
Tue Mar 29 01:06:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27c18558e6f156b193581e6326c386fe4d297159
      https://github.com/llvm/llvm-project/commit/27c18558e6f156b193581e6326c386fe4d297159
  Author: Zi Xuan Wu <zixuan.wu at linux.alibaba.com>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M llvm/lib/Target/CSKY/CSKY.h
    M llvm/lib/Target/CSKY/CSKYInstrInfo.td
    M llvm/lib/Target/CSKY/CSKYInstrInfo16Instr.td
    M llvm/test/CodeGen/CSKY/base-i.ll
    M llvm/test/CodeGen/CSKY/br.ll
    A llvm/test/CodeGen/CSKY/call-16bit.ll
    M llvm/test/CodeGen/CSKY/cmp-i.ll
    M llvm/test/CodeGen/CSKY/cvt-i.ll
    M llvm/test/CodeGen/CSKY/ldst-i.ll
    M llvm/test/CodeGen/CSKY/select.ll
    M llvm/test/MC/CSKY/branch-relax-801.s

  Log Message:
  -----------
  [CSKY] Add missing codegen pattern for 16-bit instruction

In generic cpu model, there are only low 16 registers and little 32-bit instruction. CK801 is the cpu
family with least basic features like generic model.

Add test run and check for generic cpu model in original test case to cover basic LLVM IR functionality.


  Commit: 0365c54ca393eee2250448dd5834a7e10d306d34
      https://github.com/llvm/llvm-project/commit/0365c54ca393eee2250448dd5834a7e10d306d34
  Author: Zi Xuan Wu <zixuan.wu at linux.alibaba.com>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M llvm/lib/Target/CSKY/CMakeLists.txt
    M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
    A llvm/lib/Target/CSKY/CSKYTargetObjectFile.cpp
    A llvm/lib/Target/CSKY/CSKYTargetObjectFile.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYELFObjectWriter.cpp
    A llvm/test/CodeGen/CSKY/dwarf-eh.ll

  Log Message:
  -----------
  [CSKY] Add CSKYTargetObjectFile to support exception handling

Initialize TargetLoweringObjectFileELF and EH header.


Compare: https://github.com/llvm/llvm-project/compare/8568d681ae14...0365c54ca393


More information about the All-commits mailing list