[AArch64][Windows] Check sret attribute also for inreg attribute
authorchenglin.bi <chenglin.bi@cixcomputing.com>
Wed, 12 Oct 2022 01:57:35 +0000 (09:57 +0800)
committerchenglin.bi <chenglin.bi@cixcomputing.com>
Wed, 12 Oct 2022 01:58:50 +0000 (09:58 +0800)
commit41f5bbe18b5b162fe798b933deecc55f7cc29b92
tree2e8bed9f87da4d5cadb061821946866d96b8a4f9
parent2749b942e90b3dcc08b0b540482de04c49e19865
[AArch64][Windows] Check sret attribute also for inreg attribute

Fix the issue: #57684

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D135512
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/arm64-windows-calls.ll