[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow insertps intrinsic to be used in constexp (PR #165513)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 29 07:23:33 PDT 2025
================
@@ -327,8 +327,11 @@ let Features = "ssse3", Attributes = [NoThrow, Const, Constexpr, RequiredVectorW
}
}
-let Features = "sse4.1", Attributes = [NoThrow, Const, RequiredVectorWidth<128>] in {
+let Features = "sse4.1", Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128>] in {
def insertps128 : X86Builtin<"_Vector<4, float>(_Vector<4, float>, _Vector<4, float>, _Constant char)">;
----------------
RKSimon wrote:
Move this down to the ptestz128 intrinsics?
https://github.com/llvm/llvm-project/pull/165513
More information about the cfe-commits
mailing list