File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -658,7 +658,7 @@ mlir::LogicalResult cir::VectorType::verify(
658658 llvm::function_ref<mlir::InFlightDiagnostic()> emitError,
659659 mlir::Type eltType, uint64_t size) {
660660 if (size == 0 )
661- return emitError () << " the number of vector elements must be positive " ;
661+ return emitError () << " the number of vector elements must be non-zero " ;
662662
663663 // Check if it a valid FixedVectorType
664664 if (mlir::isa<cir::PointerType, cir::FP128Type>(eltType))
@@ -668,7 +668,6 @@ mlir::LogicalResult cir::VectorType::verify(
668668 if (mlir::isa<cir::IntType>(eltType) || isAnyFloatingPointType (eltType))
669669 return success ();
670670
671- eltType.dump ();
672671 return emitError () << " expected LLVM-compatible fixed-vector type "
673672 " to be either builtin or LLVM dialect type" ;
674673}
You can’t perform that action at this time.
0 commit comments