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 @@ -688,7 +688,7 @@ mlir::LogicalResult cir::VectorType::verify(
688688 llvm::function_ref<mlir::InFlightDiagnostic()> emitError,
689689 mlir::Type eltType, uint64_t size) {
690690 if (size == 0 )
691- return emitError () << " the number of vector elements must be positive " ;
691+ return emitError () << " the number of vector elements must be non-zero " ;
692692
693693 // Check if it a valid FixedVectorType
694694 if (mlir::isa<cir::PointerType, cir::FP128Type>(eltType))
@@ -698,7 +698,6 @@ mlir::LogicalResult cir::VectorType::verify(
698698 if (mlir::isa<cir::IntType>(eltType) || isAnyFloatingPointType (eltType))
699699 return success ();
700700
701- eltType.dump ();
702701 return emitError () << " expected LLVM-compatible fixed-vector type "
703702 " to be either builtin or LLVM dialect type" ;
704703}
You can’t perform that action at this time.
0 commit comments