On PPC64, for a variadic function, if va_start is not called, it won't access any variadic argument on stack, thus we can save stores of registers used to pass arguments.
Details
Details
- Reviewers
jsji nemanjai hfinkel steven.zhang sfertile - Group Reviewers
Restricted Project - Commits
- rGe2b93185b84b: [PowerPC] Only make copies of registers on stack in variadic function when…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/PowerPC/PPCISelLowering.cpp | ||
---|---|---|
4295 | Please add some necessary comments here to prove that, we don't need these stores if there is no va_start. |
Comment Actions
The change makes sense to me. Please hold on for several days in case others have comments.
Please add some necessary comments here to prove that, we don't need these stores if there is no va_start.