Skip to content

Commit 47b490b

Browse files
authored
[AArch64][SME] Refactor MachineSMEABI pass state (NFCI) (#156674)
This removes the pass state (aside from target classes) from the MachineSMEABI class, and instead passes/returns state between functions. The intention is to make dataflow (and where state is mutated) more apparent.
1 parent 381e1bb commit 47b490b

File tree

2 files changed

+167
-128
lines changed

2 files changed

+167
-128
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9312,6 +9312,7 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
93129312

93139313
std::optional<unsigned> ZAMarkerNode;
93149314
bool UseNewSMEABILowering = getTM().useNewSMEABILowering();
9315+
93159316
if (UseNewSMEABILowering) {
93169317
if (CallAttrs.requiresLazySave() ||
93179318
CallAttrs.requiresPreservingAllZAState())

0 commit comments

Comments
 (0)