Merge pull request #3114 from whitequark/issue-3113

bugpoint: avoid infinite loop between -connections and -wires
This commit is contained in:
Catherine 2021-12-16 07:29:19 +00:00 committed by GitHub
commit 73eea51613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)