fix(compiler): MANP segfault bug in case of missing MANP value

This commit is contained in:
rudy
2021-12-10 16:55:04 +01:00
committed by rudy-6-4
parent 7a286ba9f9
commit 5ed2dcb3c1

View File

@@ -1109,6 +1109,7 @@ protected:
if (!MANP) {
op->emitError("Maximum Arithmetic Noise Padding value not set");
this->signalPassFailure();
return;
}
if (APIntWidthExtendULT(this->maxMANP, MANP.getValue())) {