https://github.com/lukel97 approved this pull request. I'm happy with having a tuning flag for this so LGTM. Would still be good to explore some of the other options you listed though to have a better default https://github.com/llvm/llvm-project/pull/191374