This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Support fastcc and treat it as ccc
ClosedPublic

Authored by xen0n on Sep 22 2022, 8:39 AM.

Details

Summary

As explained in D68559 the fastcc calling convention may be requested
under certain conditions, hence the need for supporting it. But unlike
RISCV we actually treat it exactly like ccc, without actually inventing
any performance hack right here. And CSKY does the same thing.

This is going to fix a few more test cases with native LoongArch builds.

Diff Detail

Event Timeline

xen0n created this revision.Sep 22 2022, 8:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2022, 8:39 AM
xen0n requested review of this revision.Sep 22 2022, 8:39 AM
SixWeining accepted this revision.Sep 22 2022, 5:36 PM

LGTM. Thanks.

This revision is now accepted and ready to land.Sep 22 2022, 5:36 PM
This revision was automatically updated to reflect the committed changes.