[clang] [X86][Clang] Support constexpr evaluation of cvtpd2ps intrinsics (PR #169980)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 1 01:44:53 PST 2025
================
@@ -12165,7 +12165,36 @@ static bool evalShuffleGeneric(
Out = APValue(ResultElements.data(), ResultElements.size());
return true;
}
+static bool ConvertDoubleToFloatStrict(EvalInfo &Info, const Expr *E,
----------------
tbaederr wrote:
>Do you want parity so both evaluators accept/reject the same constexpr cases and emit the same diagnostics?
> Or should I mirror the behavior of handling the pd2ps intrinsics in InterpBuiltin.cpp?
Is that different in any way?
https://github.com/llvm/llvm-project/pull/169980
More information about the cfe-commits
mailing list