This is an archive of the discontinued LLVM Phabricator instance.

[instcombine] Support and test __builtin_object_size interaction with __strdup and __strndup
ClosedPublic

Authored by serge-sans-paille on Mar 18 2022, 6:59 AM.

Details

Summary

Nothing fancy there: register function aliases and add an extra test case

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 6:59 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
serge-sans-paille requested review of this revision.Mar 18 2022, 6:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 6:59 AM
nikic accepted this revision.Mar 20 2022, 6:34 AM

LGTM

llvm/test/Transforms/InstCombine/builtin-object-size-strdup-family.ll
2

Please use update_test_checks.py to generate test checks in InstCombine.

This revision is now accepted and ready to land.Mar 20 2022, 6:34 AM
This revision was landed with ongoing or failed builds.Mar 21 2022, 3:31 AM
This revision was automatically updated to reflect the committed changes.