This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][Windows] Check sret attribute also for inreg attribute
ClosedPublic

Authored by bcl5980 on Oct 8 2022, 3:49 AM.

Diff Detail

Event Timeline

bcl5980 created this revision.Oct 8 2022, 3:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 8 2022, 3:49 AM
bcl5980 requested review of this revision.Oct 8 2022, 3:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 8 2022, 3:49 AM
DavidSpickett resigned from this revision.Oct 10 2022, 2:39 AM

I have zero idea what either InReg or SRet are, I'll leave the actual review to others.

llvm/test/CodeGen/AArch64/aarch64-windows-inreg-without-sret.ll
3 ↗(On Diff #466274)

Please comment the intent of the test. E.g.

"When there is inreg but not sret, we should emit..."

Code change looks fine

llvm/test/CodeGen/AArch64/aarch64-windows-inreg-without-sret.ll
7 ↗(On Diff #466274)

Is there some other file we could put this in with other Windows calling convention stuff?

bcl5980 updated this revision to Diff 466723.Oct 11 2022, 1:09 AM

move the test to arm64-windows-calls.ll

This revision is now accepted and ready to land.Oct 11 2022, 10:23 AM