[clang] [Clang][AArch64] Add customisable immediate range checking to NEON (PR #100278)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 25 08:21:28 PDT 2024
================
@@ -810,7 +836,7 @@ bool SemaARM::CheckNeonBuiltinFunctionCall(const TargetInfo &TI,
#undef GET_NEON_IMMEDIATE_CHECK
}
- return SemaRef.BuiltinConstantArgRange(TheCall, i, l, u + l);
+ return ParseNeonImmChecks(TheCall, ImmChecks, TV);
----------------
Lukacma wrote:
I think using TV here is unnecessary. If we always specified the index of the base type for each intrinsics this could be removed and we could merge ParseNeon and ParseSVE
https://github.com/llvm/llvm-project/pull/100278
More information about the cfe-commits
mailing list