forked from OSchip/llvm-project
e01e711c64
Summary: When expanding the PseudoTail in expandFunctionCall() we were using X6 to save the return address. Since this is a tail call the return address is not needed, this patch replaces it with X0 to be ignored. This matches the behaviour listed in the ISA V2.2 document page 110. tail offset -----> jalr x0, x6, offset GCC exhibits the same behavior. Reviewers: apazos, asb, mgrang Reviewed By: asb Subscribers: rbar, johnrusso, simoncook, niosHD, kito-cheng, shiva0217, zzheng, edward-jones, rogfer01 Differential Revision: https://reviews.llvm.org/D48343 llvm-svn: 335239 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
LLVMBuild.txt | ||
RISCVAsmBackend.cpp | ||
RISCVBaseInfo.h | ||
RISCVELFObjectWriter.cpp | ||
RISCVELFStreamer.cpp | ||
RISCVELFStreamer.h | ||
RISCVFixupKinds.h | ||
RISCVMCAsmInfo.cpp | ||
RISCVMCAsmInfo.h | ||
RISCVMCCodeEmitter.cpp | ||
RISCVMCExpr.cpp | ||
RISCVMCExpr.h | ||
RISCVMCTargetDesc.cpp | ||
RISCVMCTargetDesc.h | ||
RISCVTargetStreamer.cpp | ||
RISCVTargetStreamer.h |