bugpoint: avoid infinite loop between -connections and -wires.

Fixes #3113.
This commit is contained in:
Catherine 2021-12-15 08:15:54 +00:00
parent 48ed6d998b
commit 4f1d62d9b2
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ struct BugpointPass : public Pass {
if (wire->get_bool_attribute(ID::bugpoint_keep))
continue;
if (wire->name.begins_with("$delete_wire"))
if (wire->name.begins_with("$delete_wire") || wire->name.begins_with("$auto$bugpoint"))
continue;
if (index++ == seed)