Skip to content

Commit

Permalink
remove deduplicate logic... it's incorrect for liveintervals
Browse files Browse the repository at this point in the history
  • Loading branch information
9Tempest committed Dec 3, 2023
1 parent 8eb20eb commit ad8aaf8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions gematria/datasets/python/import_from_mir.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ def _validate_input_columns(flags_dict):
from pybind11_abseil import status
import tensorflow as tf

machine_hex_set = set()

def main(argv: Sequence[str]) -> None:
if len(argv) > 1:
Expand Down Expand Up @@ -177,11 +176,6 @@ def main(argv: Sequence[str]) -> None:
if float(through_put) == -1:
num_skipped_blocks += 1
continue
# skip blocks with duplicate machine code
if hex in machine_hex_set:
num_skipped_blocks += 1
continue
machine_hex_set.add(hex)
block_proto = importer.ParseMIRCsvLine(
source_name=_SOURCE_NAME.value,
line=line.strip(),
Expand Down

0 comments on commit ad8aaf8

Please sign in to comment.