This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Enable GCC C Torture Suite
ClosedPublic

Authored by SixWeining on Nov 16 2022, 12:40 AM.

Details

Summary

Add built-in-setjmp.c and pr84521.c to blacklist because LoongArch
backend doesn't support __builtin_longjmp/__builtin_setjmp for now.

Like Mips and SystemZ, LoongArch supports lowering RETURNADDR and
FRAMEADDR for a current frame only. 20030323-1.c invokes
__builtin_return_address with non-zero argument. So add it to
blacklist.

Depends on D138102

Diff Detail

Repository
rT test-suite

Event Timeline

SixWeining created this revision.Nov 16 2022, 12:40 AM
SixWeining requested review of this revision.Nov 16 2022, 12:40 AM
xen0n edited the summary of this revision. (Show Details)Nov 16 2022, 12:42 AM
xen0n accepted this revision.Nov 16 2022, 12:47 AM

Seems we've reached some significant milestone? ;-)

I've fixed the formatting of the patch summary (marking the double-underscore identifiers as inline code so they don't get incorrectly italicized). The changes LGTM but let's wait for others.

This revision is now accepted and ready to land.Nov 16 2022, 12:47 AM

Seems we've reached some significant milestone? ;-)

I've fixed the formatting of the patch summary (marking the double-underscore identifiers as inline code so they don't get incorrectly italicized). The changes LGTM but let's wait for others.

Yes. Now 100% tests passed under various opt levels including O0/O0-g/Os/O3 with this change.

Thanks for editting the summary. :)

MaskRay accepted this revision.Nov 16 2022, 3:40 PM
This revision was automatically updated to reflect the committed changes.