This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] NFC. Assert that mask is full with VOPC DPP
ClosedPublic

Authored by Joe_Nash on Jul 19 2022, 10:25 AM.

Details

Summary

VOPC DPP should not be formed when the row_mask and bank_mask are not
0xf (full) because the resulting VOP DPP would have different semantics
than the MOV DPP followed by VOP. Existing checks in GCNDPPCombine cover
this case but for different reasons, so assert the property for
future-proofing.

Diff Detail

Event Timeline

Joe_Nash created this revision.Jul 19 2022, 10:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2022, 10:25 AM
Joe_Nash requested review of this revision.Jul 19 2022, 10:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2022, 10:25 AM
This revision is now accepted and ready to land.Jul 20 2022, 12:48 AM
This revision was landed with ongoing or failed builds.Jul 20 2022, 10:53 AM
This revision was automatically updated to reflect the committed changes.