This is an archive of the discontinued LLVM Phabricator instance.

[test-suite] Enable more tests from gcc test suite
ClosedPublic

Authored by xbolva00 on Apr 17 2021, 3:44 AM.

Details

Summary

Clang now (rG0daf27302518) supports builtins for malloc, realloc, calloc, free, sprintf, etc.. so enable these tests as they work fine.

See eg.: https://godbolt.org/z/ExbYdqaaM

Diff Detail

Repository
rT test-suite

Event Timeline

xbolva00 created this revision.Apr 17 2021, 3:44 AM
xbolva00 requested review of this revision.Apr 17 2021, 3:44 AM
xbolva00 updated this revision to Diff 338290.Apr 17 2021, 4:07 AM

Enable builtin-bitops-1.c # builtin_clrsb, builtin_clrsbl, __builtin_clrsbll as it can pass too.

xbolva00 updated this revision to Diff 338291.Apr 17 2021, 4:07 AM
Harbormaster completed remote builds in B99310: Diff 338291.

I hope to do a test suite run today at some point to validate this. It looks right, but I would like to feel more confident about landing this. I'll get back to you today.

lenary accepted this revision.Apr 22 2021, 4:44 AM
This revision is now accepted and ready to land.Apr 22 2021, 4:44 AM
This revision was landed with ongoing or failed builds.Apr 22 2021, 6:00 AM
This revision was automatically updated to reflect the committed changes.