================ @@ -11634,11 +11634,40 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) { APValue(APSInt(Elt.reverseBits(), DestEltTy->isUnsignedIntegerOrEnumerationType()))); break; + case Builtin::BI__builtin_elementwise_abs: { + APInt Val = Source.getVectorElt(EltNum).getInt().abs(); + ResultElements.push_back(APValue( + APSInt(Val, DestEltTy->isUnsignedIntegerOrEnumerationType()))); + break; + } ---------------- el-ev wrote:
It seems unlikely that a `__builtin_elementwise_abs` would appear here. ```suggestion ``` https://github.com/llvm/llvm-project/pull/152497 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits