diff --git a/lib/Conversion/HWToBTOR2/HWToBTOR2.cpp b/lib/Conversion/HWToBTOR2/HWToBTOR2.cpp index 6d846cec8350..b0a06c3ef3af 100644 --- a/lib/Conversion/HWToBTOR2/HWToBTOR2.cpp +++ b/lib/Conversion/HWToBTOR2/HWToBTOR2.cpp @@ -884,7 +884,7 @@ struct ConvertHWToBTOR2Pass auto initialConstant = circt::seq::unwrapImmutableValue(init) .getDefiningOp(); if (!initialConstant) - reg->emitError("Initial value must be constant!!"); + reg->emitError("initial value must be constant"); // Visit the initial Value to generate the constant dispatchTypeOpVisitor(initialConstant);