This is an archive of the discontinued LLVM Phabricator instance.

[SimpleLoopUnswitch] Check if freeze is needed for partial unswitching.
ClosedPublic

Authored by fhahn on Apr 22 2022, 7:05 AM.

Details

Summary

We only need to insert a Freeze instruction if any of the conditions
may be poison. Similar checks are already done in the other places
SimpleLoopUnswitch creates Freeze instruction.

Diff Detail

Event Timeline

fhahn created this revision.Apr 22 2022, 7:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2022, 7:05 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
fhahn requested review of this revision.Apr 22 2022, 7:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2022, 7:05 AM
aeubanks accepted this revision.Apr 22 2022, 9:38 AM
This revision is now accepted and ready to land.Apr 22 2022, 9:38 AM
This revision was landed with ongoing or failed builds.Apr 22 2022, 1:27 PM
This revision was automatically updated to reflect the committed changes.