[RISCV] Remove unneedded comment. NFC
authorCraig Topper <craig.topper@sifive.com>
Thu, 18 May 2023 05:49:28 +0000 (22:49 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 18 May 2023 05:49:28 +0000 (22:49 -0700)
This was copied from SVE, but is currently not applicable to RISC-V.

clang/lib/AST/ASTContext.cpp

index 3d44f1c..d5611f8 100644 (file)
@@ -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() ==