This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Simplify logic in `parseDynamicIndexList` (NFC)
ClosedPublic

Authored by chelini on Nov 25 2022, 1:25 AM.

Details

Summary

We can use parseCommaSeparatedList to simplify the logic of
parseDynamicIndexList. We don't need to explicitly check delimiters
and comma anymore, this is done for us by parseCommaSeparatedList.

Diff Detail

Event Timeline

chelini created this revision.Nov 25 2022, 1:25 AM
chelini requested review of this revision.Nov 25 2022, 1:25 AM

Is this NFC? If so please update the title

chelini retitled this revision from [MLIR] Simplify logic in `parseDynamicIndexList` to [MLIR] Simplify logic in `parseDynamicIndexList` (NFC).Nov 25 2022, 11:17 AM
mehdi_amini accepted this revision.Nov 25 2022, 11:21 AM
This revision is now accepted and ready to land.Nov 25 2022, 11:21 AM
This revision was automatically updated to reflect the committed changes.