[llvm] [Xtensa] Implement vararg support. (PR #117126)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 17:07:40 PST 2024
================
@@ -133,6 +134,14 @@ XtensaTargetLowering::XtensaTargetLowering(const TargetMachine &TM,
setOperationAction(ISD::STACKSAVE, MVT::Other, Custom);
setOperationAction(ISD::STACKRESTORE, MVT::Other, Custom);
+ // VASTART and VACOPY need to deal with the Xtensa-specific varargs
+ // structure, but VAEND is a no-op.
+ setOperationAction(ISD::VASTART, MVT::Other, Custom);
+ // we use special va_list structure so we have to customize this
----------------
s-barannikov wrote:
This comment repeats the one above.
Sentences should start with a capital letter and end with '.'.
https://github.com/llvm/llvm-project/pull/117126
More information about the llvm-commits
mailing list