@@ -598,7 +598,8 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
598
598
.legalFor (ST.hasStdExtZfa (), {s32})
599
599
.legalFor (ST.hasStdExtZfa () && ST.hasStdExtD (), {s64})
600
600
.legalFor (ST.hasStdExtZfa () && ST.hasStdExtZfh (), {s16})
601
- .libcallFor ({s32, s64});
601
+ .libcallFor ({s32, s64})
602
+ .libcallFor (ST.is64Bit (), {s128});
602
603
603
604
getActionDefinitionsBuilder ({G_FMAXIMUM, G_FMINIMUM})
604
605
.legalFor (ST.hasStdExtZfa (), {s32})
@@ -609,9 +610,11 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
609
610
G_FLOG10, G_FEXP, G_FEXP2, G_FEXP10, G_FACOS,
610
611
G_FASIN, G_FATAN, G_FATAN2, G_FCOSH, G_FSINH,
611
612
G_FTANH})
612
- .libcallFor ({s32, s64});
613
+ .libcallFor ({s32, s64})
614
+ .libcallFor (ST.is64Bit (), {s128});
613
615
getActionDefinitionsBuilder ({G_FPOWI, G_FLDEXP})
614
- .libcallFor ({{s32, s32}, {s64, s32}});
616
+ .libcallFor ({{s32, s32}, {s64, s32}})
617
+ .libcallFor (ST.is64Bit (), {s128, s32});
615
618
616
619
getActionDefinitionsBuilder (G_VASTART).customFor ({p0});
617
620
0 commit comments