google / ml-compiler-opt

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

How to compile other dataset using llvm's thinlto flag? #337

Closed 18liumin closed 7 months ago

18liumin commented 7 months ago

Pass -thinlto-emit-index-files -save-temps=import to lld, this will output .3.import.bc and .thinlto.bc files in your source directory.