[llvm] [RISCV] Disable zcmp push/pop for variadic functions. (PR #65302)

Yeting Kuo via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 20:04:04 PDT 2023


yetingk wrote:

> Surely you can use Zcmp, you just have to do a separate stack adjustment and saving of a0-a7?
If we don't want to break the concept that the save area of register varargs is higher than the area of callee-saves, we should emit cm.push before saving varargs first. Could I just add a TODO for this PR?

https://github.com/llvm/llvm-project/pull/65302


More information about the llvm-commits mailing list