[clang] [X86][Clang] Support constexpr evaluation of cvtpd2ps intrinsics (PR #169980)
Hamza Hassanain via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 30 20:40:01 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,
----------------
HamzaHassanain wrote:
Thanks for the note.
Let me confirm your intent:
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](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.html)?
https://github.com/llvm/llvm-project/pull/169980
More information about the cfe-commits
mailing list