This is an archive of the discontinued LLVM Phabricator instance.

[OpAsmParser] Simplify logic for requiredOperandCount in parseOperandList.
ClosedPublic

Authored by lattner on Apr 28 2022, 11:37 AM.

Details

Summary

I would ideally like to eliminate 'requiredOperandCount' as a bit of
verification that should be in the client side, but it is much more
widely used than I expected. Just tidy some pieces up around it given
we can't drop it immediately.

NFC.

Diff Detail

Event Timeline

lattner created this revision.Apr 28 2022, 11:37 AM
Herald added a project: Restricted Project. · View Herald Transcript
lattner requested review of this revision.Apr 28 2022, 11:37 AM
rriddle accepted this revision.Apr 28 2022, 12:00 PM
This revision is now accepted and ready to land.Apr 28 2022, 12:00 PM

thx for the review!

This revision was landed with ongoing or failed builds.Apr 28 2022, 12:05 PM
This revision was automatically updated to reflect the committed changes.