facebookresearch / CompilerGym

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

Fix bug in llvm_rl benchmark when setting a max_benchmarks #736

Closed ricardoprins closed 2 years ago

ricardoprins commented 2 years ago

Fixes #654.

ChrisCummins commented 2 years ago

LGTM, thanks @ricardoprins!

The tests for this code are currently failing (due to an unrelated regression), so merging this under the faith that nothing is broken 🙂

Cheers, Chris