[clang] [Clang][bytecode] Add interp__builtin_elementwise_triop to handle general 3-operand integer intrinsics (PR #156944)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 4 11:49:44 PDT 2025


================
@@ -2829,9 +2829,10 @@ static bool interp__builtin_select(InterpState &S, CodePtr OpPC,
   return true;
 }
 
-static bool interp__builtin_elementwise_fsh(InterpState &S, CodePtr OpPC,
-                                            const CallExpr *Call,
-                                            unsigned BuiltinID) {
+static bool interp__builtin_elementwise_triop(
+    InterpState &S, CodePtr OpPC, const CallExpr *Call, unsigned BuiltinID,
----------------
tbaederr wrote:

Might as well remove the `BuiltinID` parameter if we have `Fn`.

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


More information about the cfe-commits mailing list