This is an archive of the discontinued LLVM Phabricator instance.

[LoopPredication] Fix the LoopPredication by feezing the result.
ClosedPublic

Authored by skatkov on Mar 22 2023, 8:59 PM.

Details

Summary

LoopPredication introduces the use of possibly posion value in branch (guard)
instruction, so to avoid introducing undefined behavior it should be freezed.

Diff Detail

Event Timeline

skatkov created this revision.Mar 22 2023, 8:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 8:59 PM
skatkov requested review of this revision.Mar 22 2023, 8:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 8:59 PM
mkazantsev accepted this revision.Mar 28 2023, 9:45 PM
This revision is now accepted and ready to land.Mar 28 2023, 9:45 PM