This commit is contained in:
Todd Strader 2025-05-19 09:54:21 -04:00
parent 1eb3a85642
commit 8d40d8dbd9
1 changed files with 0 additions and 1 deletions

View File

@ -7341,7 +7341,6 @@ class WidthVisitor final : public VNVisitor {
// Returns the new underp
// Conversion to/from doubles and integers are before iterating.
UASSERT_OBJ(stage == FINAL, nodep, "Bad state to iterateCheck");
if (underp) { UINFO(1, "underp dtype = " << underp->dtypep() << endl); }
UASSERT_OBJ(underp && underp->dtypep(), nodep,
"Node has no type"); // Perhaps forgot to do a prelim visit on it?
if (VN_IS(underp, NodeDType)) { // Note the node itself, not node's data type