[clang] [Headers][X86] VectorExprEvaluator::VisitCallExpr - allow SSE/AVX2/AVX512 pack intrinsics to be used in constexpr (PR #156003)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 29 10:40:17 PDT 2025


================
@@ -11599,6 +11599,89 @@ static bool handleVectorElementCast(EvalInfo &Info, const FPOptions FPO,
   return false;
 }
 
+enum class PackKind {
----------------
shafik wrote:

Pack is such an overloaded word in C++, can we get something more specific, I don't have a good suggestion, I am going to throw out SSEAVXPackKind as a strawman but please find something better if you can.

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


More information about the cfe-commits mailing list