[clang] [clang] VectorExprEvaluator::VisitCallExpr - add constant folding for X86 pslldqi/psrldqi intrinsics (PR #157403)

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 03:03:29 PDT 2025


================
@@ -2893,6 +2893,42 @@ static bool interp__builtin_elementwise_triop(
     return true;
   }
 
+  static bool interp__builtin_byteshift(
+      InterpState & S, CodePtr OpPC, const CallExpr *Call, uint32_t BuiltinID) {
----------------
RKSimon wrote:

Add `bool IsLeft` arg and then split calls below

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


More information about the cfe-commits mailing list