[clang] [X86][ByteCode] Allow PSHUFB intrinsics to be used in constexpr #156612 (PR #163148)

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 22 06:33:26 PDT 2025


================
@@ -11619,6 +11619,44 @@ static bool evalPackBuiltin(const CallExpr *E, EvalInfo &Info, APValue &Result,
   return true;
 }
 
+static bool evalPshufbBuiltin(EvalInfo &Info, const CallExpr *Call,
----------------
RKSimon wrote:

I have been looking at options for using a callback mechanism for shuffle mask decoding - similar to what we do for binops - I've suggested this to @chaitanyav on #164078 and we can build on that.

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


More information about the cfe-commits mailing list