Implement targetHandlesStackFrameRounding() and return true. Handle stack rounding only in RISCVFrameLowering to avoid double-counting alignment; one in PEI::calculateFrameObjectOffsets() and another in determineFrameLayout() in RISCVFrameLowering.cpp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@lenary, is it reasonable to implement targetHandlesStackFrameRounding() and handle the alignment in RISCVFrameLowering.cpp?
Comment Actions
@HsiangKai Can you coordinate with @rogfer01 about this patch vs https://reviews.llvm.org/D89237 ? Roger hit this when looking at the emergency spill slot work.
No need to write the function name in the doxygen comment.