This is an archive of the discontinued LLVM Phabricator instance.

[MC][AsmParser] Add `MCTargetAsmParser::isStartOfInstruction` hook
Needs ReviewPublic

Authored by barannikov88 on Feb 5 2023, 2:52 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This allows targets to indicate which tokens are valid at the start of
instructions. This is especially useful for targets with non-standard
assembly language syntax, e.g. BPF and Hexagon.

Diff Detail

Event Timeline

barannikov88 created this revision.Feb 5 2023, 2:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2023, 2:52 AM
barannikov88 requested review of this revision.Feb 5 2023, 2:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2023, 2:52 AM