[PATCH] D49464: [COFF, ARM64] Mark only POD-type returns as SRET

Yin Ma via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 11:22:23 PDT 2018


yinma added inline comments.


================
Comment at: lib/CodeGen/TargetInfo.cpp:4926
 
+    FI.setNonPODStructReturn(Kind != Win64);
+
----------------
yinma wrote:
> Do we should limit this to aarch64 windows only? I feel it will impact x86 64bit .
I just realized Win64 is under AArch64ABIInfo. So this change should be good.


https://reviews.llvm.org/D49464





More information about the llvm-commits mailing list