================
@@ -1345,6 +1364,15 @@ bool SemaARM::CheckAArch64BuiltinFunctionCall(const
TargetInfo &TI,
if (CheckSMEBuiltinFunctionCall(BuiltinID, TheCall))
return true;
+ if (BuiltinID == AArch64::BI__arm_set_fpm_lscale)
+ return checkFPMScaleIfConstant(SemaRef, TheCall, 1, 0, 127);
+
+ if (BuiltinID == AArch64::BI__arm_set_fpm_nscale)
+ return checkFPMScaleIfConstant(SemaRef, TheCall, 1, -128, 127);
+
+ if (BuiltinID == AArch64::BI__arm_set_fpm_lscale2)
+ return checkFPMScaleIfConstant(SemaRef, TheCall, 1, 0, UINT32_MAX);
----------------
CarolineConcatto wrote:
Yes, you are correct. I will fix this
https://github.com/llvm/llvm-project/pull/227722
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits