[clang] [compiler-rt] [llvm] [X86] AVX10_V2_AUX Implementation (PR #206888)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 15 12:49:49 PDT 2026
================
@@ -956,8 +1005,12 @@ bool SemaX86::CheckBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID,
// template-generated or macro-generated dead code to potentially have out-of-
// range values. These need to code generate, but don't need to necessarily
// make any sense. We use a warning that defaults to an error.
- return SemaRef.BuiltinConstantArgRange(TheCall, i, l, u,
- /*RangeIsError*/ false);
+ if (SemaRef.BuiltinConstantArgRange(TheCall, i, l, u,
+ /*RangeIsError*/ false))
+ return true;
+
+ // If the intrinsic has a VUNPACKB immediate, make sure the encoding is valid.
+ return CheckBuiltinVUnpackBImm(BuiltinID, TheCall);
----------------
ganeshgit wrote:
Done!
https://github.com/llvm/llvm-project/pull/206888
More information about the llvm-commits
mailing list