================ @@ -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; + } ---------------- Mr-Anyone wrote:
That was entirely my bad. I forgot to delete this line when refactoring for floating point. Thanks for catching it. 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