This is related to "[RFC] MC support for variant scheduling classes" in LLVM-dev.
This is an example of how the new predicates can be used in the AArch64 backend.
This is not meant to be committed.
Paths
| Differential D46701
[RFC][AArch64] Use the new MCSchedPredicate to rewrite a couple of predicates. AbandonedPublic Authored by andreadb on May 10 2018, 8:46 AM.
Details
Summary This is related to "[RFC] MC support for variant scheduling classes" in LLVM-dev. This is an example of how the new predicates can be used in the AArch64 backend.
Diff Detail Event Timeline
Comment Actions Abandoning this patch as there was no concrete plan to push this change Upstrea. It was mainly to help the review process for the RFC patches.
Revision Contents
Diff 146138 lib/Target/AArch64/AArch64InstrInfo.h
lib/Target/AArch64/AArch64InstrInfo.cpp
lib/Target/AArch64/AArch64InstrInfo.td
lib/Target/AArch64/AArch64InstrInfoPredicates.td
lib/Target/AArch64/AArch64SchedCyclone.td
lib/Target/AArch64/AArch64SchedExynosM3.td
lib/Target/AArch64/AArch64Schedule.td
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
|
Hi Andrea:
Maybe i am not getting this properly. But how is this approach easier than simply defining a function "IsGPRZero(const MachineInstr*)", as it is done presently.