================ @@ -5218,15 +5218,15 @@ bool CheckVectorElementCallArgs(Sema *S, CallExpr *TheCall) { // Note: type promotion is intended to be handeled via the intrinsics // and not the builtin itself. S->Diag(TheCall->getBeginLoc(), - diag::err_vec_builtin_incompatible_vector_all) - << TheCall->getDirectCallee() + diag::err_vec_builtin_incompatible_vector) + << TheCall->getDirectCallee() << /*all args*/ true << SourceRange(A.get()->getBeginLoc(), B.get()->getEndLoc()); retValue = true; } if (VecTyA->getNumElements() != VecTyB->getNumElements()) { // if we get here a HLSLVectorTruncation is needed. ---------------- pow2clk wrote:
This comment seems inaccurate as we're not inserting a truncation, but failing. https://github.com/llvm/llvm-project/pull/83609 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits