This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ][z/OS] Introduce dialect querying helper functions
ClosedPublic

Authored by anirudhp on Apr 5 2021, 10:28 AM.

Details

Summary
  • In the SystemZAsmParser, there will be a few queries to the type of dialect it is (AD_ATT, AD_HLASM) in future patches.
  • It would be nice to have two small helper functions isParsingATT() and isParsingHLASM()
  • Putting this as a separate smaller patch allows us to remove its definitions from other dependent patches.

Diff Detail

Event Timeline

anirudhp created this revision.Apr 5 2021, 10:28 AM
anirudhp requested review of this revision.Apr 5 2021, 10:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2021, 10:29 AM
anirudhp edited the summary of this revision. (Show Details)Apr 5 2021, 10:29 AM
anirudhp edited the summary of this revision. (Show Details)Apr 5 2021, 10:38 AM
This revision is now accepted and ready to land.Apr 7 2021, 11:24 AM
uweigand accepted this revision.Apr 13 2021, 3:16 AM

LGTM.