From 5a2e7ecbea4a0014120a8d40e926b348a72647b5 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 18 Jun 2025 20:38:26 +0900 Subject: [PATCH] ARM: Move declaration of supportSplitCSR to be public This is an implementation of a public method from the base class, so it should also be public. Avoids unrelated diff in a future patch. --- llvm/lib/Target/ARM/ARMISelLowering.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h index 87710ee29a249..357ca9ea5d205 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.h +++ b/llvm/lib/Target/ARM/ARMISelLowering.h @@ -716,6 +716,11 @@ class VectorType; return true; } + bool supportSplitCSR(MachineFunction *MF) const override { + return MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && + MF->getFunction().hasFnAttribute(Attribute::NoUnwind); + } + bool hasStandaloneRem(EVT VT) const override { return HasStandaloneRem; } @@ -914,11 +919,6 @@ class VectorType; SmallVectorImpl &InVals, bool isThisReturn, SDValue ThisVal, bool isCmseNSCall) const; - bool supportSplitCSR(MachineFunction *MF) const override { - return MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && - MF->getFunction().hasFnAttribute(Attribute::NoUnwind); - } - void initializeSplitCSR(MachineBasicBlock *Entry) const override; void insertCopiesSplitCSR( MachineBasicBlock *Entry,