This is an archive of the discontinued LLVM Phabricator instance.

[RS4GC] Handle freeze case for vector
ClosedPublic

Authored by skatkov on Jun 21 2022, 3:05 AM.

Details

Summary

Finding BDV for vector value does not handle freeze instruction.
Adding its handling as it is done for scalar case.

Diff Detail

Event Timeline

skatkov created this revision.Jun 21 2022, 3:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2022, 3:05 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
skatkov requested review of this revision.Jun 21 2022, 3:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2022, 3:05 AM
apilipenko accepted this revision.Jun 22 2022, 11:53 AM

In other instructions, we seem to just duplicate the handling in findBaseDefiningValueOfVector and findBaseDefiningValue. Doing so for freeze would be more consistent with the existing code.

LGTM.

This revision is now accepted and ready to land.Jun 22 2022, 11:53 AM
skatkov updated this revision to Diff 439263.Jun 22 2022, 9:58 PM

Update pat h before landing to handle reviewer's comment.

This revision was landed with ongoing or failed builds.Jun 22 2022, 9:59 PM
This revision was automatically updated to reflect the committed changes.