Skip to content

[RV64Y] Bounded variadic/memory argument should not be used under FastCC #14

Description

@dpgao

In the CC_RISCV_FastCC calling convention uses temporary registers to pass arguments. When this calling convention is used, all memory arguments are still implicitly passed via the stack even when bounded variadic/memory arguments are enabled.

However, the current implementation incorrectly clobbers a temporary register to hold the bounded variadic/memory arguments buffer when calling another function with fastcc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions