This is an archive of the discontinued LLVM Phabricator instance.

[Verifier] Add verifier for min-legal-vector-width
Needs ReviewPublic

Authored by pengfei on Apr 5 2022, 5:58 AM.

Diff Detail

Event Timeline

pengfei created this revision.Apr 5 2022, 5:58 AM
pengfei requested review of this revision.Apr 5 2022, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2022, 5:58 AM

I think this is missing a check: for call instructions, you need to check the min-legal-vector-width of both the call itself, and the function containing the call.

I'm still not really convinced this is the best approach, but maybe it's good enough.