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(
688
688
llvm::function_ref<mlir::InFlightDiagnostic()> emitError,
689
689
mlir::Type eltType, uint64_t size) {
690
690
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 " ;
692
692
693
693
// Check if it a valid FixedVectorType
694
694
if (mlir::isa<cir::PointerType, cir::FP128Type>(eltType))
@@ -698,7 +698,6 @@ mlir::LogicalResult cir::VectorType::verify(
698
698
if (mlir::isa<cir::IntType>(eltType) || isAnyFloatingPointType (eltType))
699
699
return success ();
700
700
701
- eltType.dump ();
702
701
return emitError () << " expected LLVM-compatible fixed-vector type "
703
702
" to be either builtin or LLVM dialect type" ;
704
703
}
You can’t perform that action at this time.
0 commit comments