[clang] [llvm] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow AVX/AVX512 subvector extraction intrinsics to be used in constexpr #157712 (PR #158853)
Timm Baeder via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 23:15:34 PDT 2025
================
@@ -2836,6 +2837,99 @@ static bool interp__builtin_elementwise_triop(
return true;
}
+//_builtin_extract
+static bool interp__builtin_x86_extract_vector(InterpState &S, CodePtr OpPC,
+ const CallExpr *Call,
+ unsigned ID) {
+ assert(Call->getNumArgs() == 2);
+
+ // srcimm
----------------
tbaederr wrote:
None of these comments seem useful.
https://github.com/llvm/llvm-project/pull/158853
More information about the llvm-commits
mailing list