[all-commits] [llvm/llvm-project] 982a58: [RISCV] Emit .variant_cc directives for vector fun...

Yeting Kuo via All-commits all-commits at lists.llvm.org
Thu Dec 15 21:51:53 PST 2022


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

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
    A llvm/test/CodeGen/RISCV/rvv/variant-cc.ll

  Log Message:
  -----------
  [RISCV] Emit .variant_cc directives for vector function calls.

The patch is splitted from D103435. The patch emits .variant_cc [0] for those
function calls that have vector arguments or vector return values.

[0]: https://github.com/riscv/riscv-elf-psabi-doc/pull/190

Initial authored by: HsiangKai

Reviewed By: reames

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




More information about the All-commits mailing list