Author: Craig Topper Date: 2023-05-17T22:49:28-07:00 New Revision: 7bbe512362edd1dbd3947ff71212f3ae815a0836
URL: https://github.com/llvm/llvm-project/commit/7bbe512362edd1dbd3947ff71212f3ae815a0836 DIFF: https://github.com/llvm/llvm-project/commit/7bbe512362edd1dbd3947ff71212f3ae815a0836.diff LOG: [RISCV] Remove unneedded comment. NFC This was copied from SVE, but is currently not applicable to RISC-V. Added: Modified: clang/lib/AST/ASTContext.cpp Removed: ################################################################################ diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 3d44f1c33cc80..d5611f8f953f6 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<BuiltinType>()) { if (const auto *VT = SecondType->getAs<VectorType>()) { - // 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() == _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits