[PATCH] D139414: [RISCV] Emit .variant_cc directives for vector function calls.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 04:19:32 PST 2022


fakepaper56 created this revision.
fakepaper56 added reviewers: kito-cheng, craig.topper, frasercrmck, MaskRay, rogfer01, reames, HsiangKai.
Herald added subscribers: sunshaoce, VincentWu, StephenFan, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
fakepaper56 requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD.
Herald added a project: LLVM.

The patch is splitted from D103435 <https://reviews.llvm.org/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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139414

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139414.480429.patch
Type: text/x-patch
Size: 6628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221206/b59665f2/attachment.bin>


More information about the llvm-commits mailing list