This is an archive of the discontinued LLVM Phabricator instance.

Teach InstCombine to eliminate malloc-realloc-free triplets.
ClosedPublic

Authored by resistor on Sep 17 2021, 11:30 AM.

Diff Detail

Event Timeline

resistor created this revision.Sep 17 2021, 11:30 AM
resistor requested review of this revision.Sep 17 2021, 11:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2021, 11:30 AM
resistor updated this revision to Diff 373362.Sep 17 2021, 4:26 PM
  • Teach InstCombine to remove the realloc from free(realloc(...)).
This revision is now accepted and ready to land.Sep 21 2021, 9:57 AM
This revision was landed with ongoing or failed builds.Sep 21 2021, 11:08 AM
This revision was automatically updated to reflect the committed changes.