From: Craig Topper Date: Thu, 18 May 2023 05:49:28 +0000 (-0700) Subject: [RISCV] Remove unneedded comment. NFC X-Git-Tag: upstream/17.0.6~8055 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bbe512362edd1dbd3947ff71212f3ae815a0836;p=platform%2Fupstream%2Fllvm.git [RISCV] Remove unneedded comment. NFC This was copied from SVE, but is currently not applicable to RISC-V. --- diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 3d44f1c..d5611f8 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -9594,8 +9594,6 @@ bool ASTContext::areCompatibleRVVTypes(QualType FirstType, auto IsValidCast = [this](QualType FirstType, QualType SecondType) { if (const auto *BT = FirstType->getAs()) { if (const auto *VT = SecondType->getAs()) { - // Predicates have the same representation as uint8 so we also have to - // check the kind to make these types incompatible. if (VT->getVectorKind() == VectorType::RVVFixedLengthDataVector) return FirstType->isRVVVLSBuiltinType() && VT->getElementType().getCanonicalType() ==