[PATCH] D105067: [SystemZ] Emit .gnu_attribute for an externally visible vector abi.
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 5 05:55:03 PDT 2021
jonpa updated this revision to Diff 356489.
jonpa marked 2 inline comments as done.
jonpa added a comment.
> I don't think this implementation of vararg support is quite complete. On the caller side, you check for variable arguments to any direct function with a prototype. However, this misses the case where an *indirect* function call (using a function pointer) has variable arguments.
>
> This also completely misses the *callee* side: every function that takes variable arguments and uses va_arg with a vector type is also dependent on the vector ABI.
Patch updated to address these cases as well.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105067/new/
https://reviews.llvm.org/D105067
Files:
llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-00.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-01.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-02.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-03.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-04.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-05.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-06.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-07.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-08.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-09.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-10.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-11.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-12.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-13.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-14.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-15.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-16.ll
llvm/test/CodeGen/SystemZ/vec-abi-gnuattr-17.ll
llvm/test/MC/SystemZ/gnu-attributes.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105067.356489.patch
Type: text/x-patch
Size: 19993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210705/40f52b22/attachment.bin>
More information about the llvm-commits
mailing list