================
@@ -11654,6 +11654,41 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr 
*E) {
 
     return Success(APValue(ResultElements.data(), ResultElements.size()), E);
   }
+  case Builtin::BI__builtin_elementwise_max:
+  case Builtin::BI__builtin_elementwise_min: {
----------------
Fznamznon wrote:

The cases for max and min look pretty much the same as for add_sat and sub_sat 
just above. Perhaps it makes sense to simply extend `switch` on line 11642?

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

Reply via email to