This is an archive of the discontinued LLVM Phabricator instance.

[SLP][NFC] Precommit for a followup patch that fixes vectorization of phi when they come from unreachable blocks
AbandonedPublic

Authored by vporpo on Jun 2 2022, 9:55 AM.

Details

Reviewers
MaskRay

Diff Detail

Event Timeline

vporpo created this revision.Jun 2 2022, 9:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 9:55 AM
vporpo requested review of this revision.Jun 2 2022, 9:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 9:55 AM
MaskRay accepted this revision.Jun 2 2022, 10:15 AM
MaskRay added a subscriber: MaskRay.

LGTM.

llvm/test/Transforms/SLPVectorizer/X86/phi-unreachable-input-block.ll
36

consider switching to ptr for opaque pointers (https://llvm.org/docs/OpaquePointers.html)

Opaque pointers have been the default. Non-opaque pointers are considered legacy now.

112

delete blank line

This revision is now accepted and ready to land.Jun 2 2022, 10:15 AM
vporpo abandoned this revision.Jun 2 2022, 1:44 PM