This is an archive of the discontinued LLVM Phabricator instance.

[COFF, ARM64] Implement Intrinsic.sponentry for AArch64
ClosedPublic

Authored by yinma on Nov 1 2018, 2:02 PM.

Details

Summary

This patch adds Intrinsic.sponentry. This intrinsic is required to correctly support setjmp for AArch64 Windows platform.

Diff Detail

Repository
rL LLVM

Event Timeline

yinma created this revision.Nov 1 2018, 2:02 PM

The preview revision failed in expensive build bot check due to register class check. this is the new upload.

efriedma accepted this revision.Nov 1 2018, 2:26 PM
efriedma added a subscriber: efriedma.

LGTM with a minor tweak.

test/CodeGen/AArch64/sponentry.ll
4 ↗(On Diff #172228)

Please change the RUN lines to add "-verify-machineinstrs"; that'll allow catching mistakes faster in the future.

This revision is now accepted and ready to land.Nov 1 2018, 2:26 PM
yinma updated this revision to Diff 172265.Nov 1 2018, 4:22 PM
This revision was automatically updated to reflect the committed changes.