[all-commits] [llvm/llvm-project] 3a8812: [RISCV] Support .variant_cc directive for the asse...

Yeting Kuo via All-commits all-commits at lists.llvm.org
Sun Dec 4 20:13:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a881217324d15b7b1077ff7121587b9e9c0e272
      https://github.com/llvm/llvm-project/commit/3a881217324d15b7b1077ff7121587b9e9c0e272
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
    A llvm/test/MC/RISCV/directive-variant_cc.s

  Log Message:
  -----------
  [RISCV] Support .variant_cc directive for the assembler.

The patch is split from D103435. The patch supported a new directive .variant_cc
that annotates function with STO_RISCV_VARIANT_CC. Symbols marked with
STO_RISCV_VARIANT_CC do not use standard calling conversion or use parameter not
passed in GPR/FPR.

Related: https://github.com/riscv/riscv-elf-psabi-doc/pull/190

Initial authored by: HsiangKai

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D138352




More information about the All-commits mailing list