This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Modify lowering of setjmp
Needs ReviewPublic

Authored by samparker on Apr 20 2017, 8:25 AM.

Details

Reviewers
t.p.northover
Summary

The current setjmp instructions specify RO as the destination register by hard-coding it in the tablegen descriptions. This patch changes the behaviour so that the setjmp is just a chain node and a CopyFromReg is used afterwards to provide the result in R0.

Diff Detail

Event Timeline

samparker created this revision.Apr 20 2017, 8:25 AM

Adding Tim, as this is likely going to affect Darwin more than Linux.