[all-commits] [llvm/llvm-project] 7da22d: [SystemZ][z/OS] Introduce dialect querying helper ...
Anirudh Prasad via All-commits
all-commits at lists.llvm.org
Tue Apr 13 09:15:00 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7da22dfcd06a2df056f10913dccae8f6b28f79ef
https://github.com/llvm/llvm-project/commit/7da22dfcd06a2df056f10913dccae8f6b28f79ef
Author: Anirudh Prasad <anirudh_prasad at hotmail.com>
Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths:
M llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
Log Message:
-----------
[SystemZ][z/OS] Introduce dialect querying helper functions
- 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.
Reviewed By: uweigand, abhina.sreeskantharajan
Differential Revision: https://reviews.llvm.org/D99891
More information about the All-commits
mailing list