HomePhabricator

[RISCV] Support fast calling convention

Authored by shiva0217 on Oct 14 2019, 7:04 PM.

Description

[RISCV] Support fast calling convention

LLVM may annotate the function with fastcc if there has only one caller
and there're no other caller out of the module and the function is not
naked or contain variable arguments.

The fastcc functions could pass the arguments by the caller saved registers.

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

llvm-svn: 374857

Details

Committed
shiva0217Oct 14 2019, 7:04 PM
Differential Revision
D68559: [RISCV] Support fast calling convention
Parents
rG232fd99d9ee6: [WebAssembly] Trapping fptoint builtins and intrinsics
Branches
Unknown
Tags
Unknown