File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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,
You can’t perform that action at this time.
0 commit comments