This is an archive of the discontinued LLVM Phabricator instance.

[IPSCCP] Remove noundef when zapping return values
ClosedPublic

Authored by nikic on Feb 21 2023, 2:04 AM.

Details

Summary

When replacing return values with undef, we should also drop the noundef attribute (and other UB implying attributes).

Diff Detail

Event Timeline

nikic created this revision.Feb 21 2023, 2:04 AM
nikic requested review of this revision.Feb 21 2023, 2:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2023, 2:04 AM
fhahn accepted this revision.Feb 21 2023, 3:13 AM

LGTM, thanks!

This revision is now accepted and ready to land.Feb 21 2023, 3:13 AM
DianQK added a subscriber: DianQK.Feb 21 2023, 5:09 AM
This revision was landed with ongoing or failed builds.Feb 21 2023, 5:38 AM
This revision was automatically updated to reflect the committed changes.