Skip to content

[TODO] Add logic to push 8th and greater function argument into the stack #5

Description

@dragon540

bool MRISC32CallLowering::lowerFormalArguments() from MRISC32CallLowering.cpp handles lowering of function arguments. Currently, the first 8 function arguments are passed to registers R1 to R8. However, if more function arguments are passed, they should be pushed to the stack. This logic is not currently present in the above mentioned function.

TODO: Add logic to push 8th and greater function argument into the stack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions