[all-commits] [llvm/llvm-project] 8ddc81: [CSKY] Lower leaf DAG node such as global symbol, ...

Zi Xuan Wu (Zeson) via All-commits all-commits at lists.llvm.org
Sun Jan 9 22:35:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ddc81692952c3743939c23f66b3b58db0d4edca
      https://github.com/llvm/llvm-project/commit/8ddc81692952c3743939c23f66b3b58db0d4edca
  Author: Zi Xuan Wu <zixuan.wu at linux.alibaba.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M llvm/lib/Target/CSKY/CMakeLists.txt
    M llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
    M llvm/lib/Target/CSKY/CSKYAsmPrinter.h
    A llvm/lib/Target/CSKY/CSKYConstantPoolValue.cpp
    A llvm/lib/Target/CSKY/CSKYConstantPoolValue.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/CSKYInstrInfo.cpp
    M llvm/lib/Target/CSKY/CSKYInstrInfo.h
    M llvm/lib/Target/CSKY/CSKYInstrInfo.td
    A llvm/test/CodeGen/CSKY/call.ll
    A llvm/test/CodeGen/CSKY/frameaddr-returnaddr.ll
    A llvm/test/CodeGen/CSKY/indirectbr.ll
    A llvm/test/CodeGen/CSKY/switch.ll

  Log Message:
  -----------
  [CSKY] Lower leaf DAG node such as global symbol, frame address and jumptable, etc.

Lower global symbols such as call/external symbol.
Lower other leaf DAG node such as frame address/block address/jumptable/vastart.

Normally some leaf symbols need reside in constant pool as ABI prefers, and are addressed by
lrw or jsri instructions.

Every symbol in constant pool is lowered with one entry in target constant pool. The
entry has different type corresponding to different leaf node such as blockaddress,
jumptable, or global value.




More information about the All-commits mailing list