mirror of https://github.com/llvm/circt.git
[FIRRTL] LowerClasses: Fix ignored LogicalResult.
This commit is contained in:
parent
45736b3f48
commit
d342694c7e
|
@ -308,7 +308,8 @@ PathTracker::run(CircuitOp circuit, InstanceGraph &instanceGraph,
|
|||
owningModules);
|
||||
if (failed(tracker.runOnModule()))
|
||||
return failure();
|
||||
tracker.updatePathInfoTable(pathInfoTable, cache);
|
||||
if (failed(tracker.updatePathInfoTable(pathInfoTable, cache)))
|
||||
return failure();
|
||||
}
|
||||
|
||||
return success();
|
||||
|
|
Loading…
Reference in New Issue