[llvm] 02fff93 - [MLGO] Remove unused imports

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 11:29:07 PDT 2024


Author: Aiden Grossman
Date: 2024-09-09T18:28:59Z
New Revision: 02fff933d0eff71db8ff44f4acf1641bb1ad4d38

URL: https://github.com/llvm/llvm-project/commit/02fff933d0eff71db8ff44f4acf1641bb1ad4d38
DIFF: https://github.com/llvm/llvm-project/commit/02fff933d0eff71db8ff44f4acf1641bb1ad4d38.diff

LOG: [MLGO] Remove unused imports

Remove unused imports from python files in the MLGO library.

Added: 
    

Modified: 
    llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
    llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py b/llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
index 40052ae83f85a9..8900ee99638387 100644
--- a/llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
+++ b/llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
@@ -27,7 +27,6 @@
 import argparse
 import json
 import logging
-import multiprocessing
 
 from mlgo.corpus import extract_ir_lib
 

diff  --git a/llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py b/llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
index f0564463f92b60..ded08c2439a1a3 100644
--- a/llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
+++ b/llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
@@ -2,7 +2,6 @@
 
 ## Test the functionality of extract_ir_lib
 
-import os.path
 import sys
 
 from mlgo.corpus import extract_ir_lib


        


More information about the llvm-commits mailing list