Change all the positive numbers added by TP to negative numbers(in LowerCall).
Fix the LowerCall function to generate correct store instruction transferring the function parameters.
Fix hasReservedCallFrame function to return false.
Align the convention between caller and callee in the case of passing parameters by stack.
Change the stack offset calculation method of TP.
Unify the calculation of TP stack and SP stack offset.
Node that needing to manually modify the calculation of sp offset in the workitem.S. Since the growth direction of the stack is different from that of the traditional RISCV, it is now stipulated that for both the SP stack and the TP stack, the data is stored where the stack pointer is not offset.
There is a SPAdj check in eliminateFrameIndex function. but we don't need this value at all so that adding a getSPAdjust function to return zero.
V33 is a wrong value when parameters pushed to TP stack so there must be a MV instruction to refresh V33 after ADJCALLSTACKDOWN.
DO NOT FILE A PULL REQUEST
This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.
DO NOT FILE A PULL REQUEST