This is an archive of the discontinued LLVM Phabricator instance.

[VP] make getFunctionalOpcode return an Optional
ClosedPublic

Authored by simoll on May 19 2021, 7:45 AM.

Details

Summary

The operation of some VP intrinsics do/will not map to regular instruction opcodes. Returning 'None' seems more intuitive here than 'Instruction::Call'.

Diff Detail

Event Timeline

simoll created this revision.May 19 2021, 7:45 AM
simoll requested review of this revision.May 19 2021, 7:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2021, 7:45 AM
This revision is now accepted and ready to land.May 19 2021, 7:51 AM
This revision was landed with ongoing or failed builds.May 19 2021, 8:09 AM
This revision was automatically updated to reflect the committed changes.