facebookresearch / CompilerGym

Reinforcement learning environments for compiler and program optimization tasks
https://compilergym.ai/
MIT License
879 stars 123 forks source link

If I want to update LLVM 10 to LLVM 15, what should I do? #825

Closed hstk30-hw closed 5 months ago

hstk30-hw commented 5 months ago

❓ Questions and Help

Hi, I want to update LLVM 10 to LLVM 15, what should I do?

  1. Replace the LLVM bin data in path .local/share/compiler_gym/llvm-v0/bin
  2. Regenerate the train data (.bc) use my own LLVM
  3. Maybe new passes add to LLVM 15, so have to update the allowed actions?

That's my assumption. Any ideal about this question? Or have easy ways to solve this problem?