Skip to content

Commit

Permalink
extract_fa: Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
hovind committed Oct 30, 2024
1 parent 84d0c8f commit 9421558
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions passes/techmap/extract_fa.cc
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,6 @@ struct ExtractFaWorker
if (func3.at(key).count(func) == 0)
continue;

if (func3.at(key).count(xor3_func) == 0 && func3.at(key).count(xnor3_func) != 0) {
f3i.inv_a = !f3i.inv_a;
f3i.inv_b = !f3i.inv_b;
f3i.inv_c = !f3i.inv_c;
f3i.inv_y = !f3i.inv_y;
}

if (!f3i.inv_a && !f3i.inv_b && !f3i.inv_c && !f3i.inv_y) {
log(" Majority without inversions:\n");
} else {
Expand Down

0 comments on commit 9421558

Please sign in to comment.