Skip to content

Commit bc8908a

Browse files
authored
ARM: Move declaration of supportSplitCSR to be public (#144679)
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.
1 parent d265105 commit bc8908a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/ARM/ARMISelLowering.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,11 @@ class VectorType;
716716
return true;
717717
}
718718

719+
bool supportSplitCSR(MachineFunction *MF) const override {
720+
return MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS &&
721+
MF->getFunction().hasFnAttribute(Attribute::NoUnwind);
722+
}
723+
719724
bool hasStandaloneRem(EVT VT) const override {
720725
return HasStandaloneRem;
721726
}
@@ -914,11 +919,6 @@ class VectorType;
914919
SmallVectorImpl<SDValue> &InVals, bool isThisReturn,
915920
SDValue ThisVal, bool isCmseNSCall) const;
916921

917-
bool supportSplitCSR(MachineFunction *MF) const override {
918-
return MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS &&
919-
MF->getFunction().hasFnAttribute(Attribute::NoUnwind);
920-
}
921-
922922
void initializeSplitCSR(MachineBasicBlock *Entry) const override;
923923
void insertCopiesSplitCSR(
924924
MachineBasicBlock *Entry,

0 commit comments

Comments
 (0)