google / ml-compiler-opt

Infrastructure for Machine Learning Guided Optimization (MLGO) in LLVM.
Apache License 2.0
613 stars 92 forks source link

Move extract_artifacts to inside run_extractions #274

Closed boomanaiden154 closed 1 year ago

boomanaiden154 commented 1 year ago

This is a minor refactoring that simplifies the code base for future work. It doesn't make a lot of sense to keep this as a separate function and then use a functools.partial to setup the correct command line arguments when we can just do it explicitly using a subfunction.