When performing dynamic stack allocation, calculation of frame pointer and actual negsize can be separated. This patch refactors lowerDynamicAlloc in preparation of supporting -fstack-clash-protection which also has to calculate actual frame pointer and negsize.
Details
Details
- Reviewers
hfinkel steven.zhang - Group Reviewers
Restricted Project - Commits
- rG40e9e0826be8: [PowerPC][NFC] Refactor lowerDynamicAlloc
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp | ||
---|---|---|
492 | Add some necessary comments here to indicate what's the prepareDynamicAlloc doing |
Add some necessary comments here to indicate what's the prepareDynamicAlloc doing