[clang] [X86][Clang] Support constexpr evaluation of cvtpd2ps intrinsics (PR #169980)

Hamza Hassanain via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 2 10:40:42 PST 2025


================
@@ -3359,6 +3391,122 @@ static bool interp__builtin_ia32_cvt_vec2mask(InterpState &S, CodePtr OpPC,
   pushInteger(S, RetMask, Call->getType());
   return true;
 }
+static bool interp__builtin_ia32_cvtsd2ss(InterpState &S, CodePtr OpPC,
+                                          const CallExpr *Call, bool HasMask,
+                                          bool HasRounding) {
----------------
HamzaHassanain wrote:

Yeah. I had the same concern. But I left it this way as to look consistent with the other function. 

https://github.com/llvm/llvm-project/pull/169980


More information about the cfe-commits mailing list