This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Specify registers used for exception handling
ClosedPublic

Authored by SixWeining on Dec 2 2022, 1:08 AM.

Details

Summary

See definition in backend D134709 and the doc [1] for more detail.

With the benefit of this change, most libcxx and libcxxabi tests pass.

[1]: https://llvm.org/docs/ExceptionHandling.html

Diff Detail

Event Timeline

SixWeining created this revision.Dec 2 2022, 1:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2022, 1:08 AM
Herald added a subscriber: StephenFan. · View Herald Transcript
SixWeining requested review of this revision.Dec 2 2022, 1:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2022, 1:08 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
xen0n accepted this revision.Dec 2 2022, 1:23 AM

Trivial enough ($a0 and $a1 respectively, same as RISCV and Mips). Thanks for the quick fixing!

This revision is now accepted and ready to land.Dec 2 2022, 1:23 AM
SixWeining updated this revision to Diff 479553.Dec 2 2022, 1:36 AM

Add clang test.