================
@@ -4108,6 +4108,22 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl 
GD, unsigned BuiltinID,
     return RValue::get(Result);
   }
 
+  case Builtin::BI__builtin_elementwise_maximumnum: {
+    Value *Op0 = EmitScalarExpr(E->getArg(0));
----------------
wenju-he wrote:

> I was pointing out that we refer to `[1]` (the second element), but the 
> Prototype in Builtins.td is a `...` which allows 0 or 1 arguments.

I see, thanks @erichkeane 

https://github.com/llvm/llvm-project/pull/149775
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to