[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow SSE/AVX FP MAX/MIN intrinsics to be used in constexpr (PR #171966)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 9 03:07:30 PST 2026
================
@@ -5719,6 +5759,40 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call,
});
}
+ case clang::X86::BI__builtin_ia32_minps:
+ case clang::X86::BI__builtin_ia32_minpd:
+ case clang::X86::BI__builtin_ia32_minph128:
+ case clang::X86::BI__builtin_ia32_minph256:
+ case clang::X86::BI__builtin_ia32_minps256:
+ case clang::X86::BI__builtin_ia32_minpd256:
+ case clang::X86::BI__builtin_ia32_minps512:
+ case clang::X86::BI__builtin_ia32_minpd512:
+ case clang::X86::BI__builtin_ia32_minph512:
----------------
RKSimon wrote:
scalar (ss/sd/sh) handling is missing? Maybe drop those for now (we're running out of time for the next release branch) and raise a new constexpr issue for them.
https://github.com/llvm/llvm-project/pull/171966
More information about the cfe-commits
mailing list