https://github.com/jeremyd2019 approved this pull request. LGTM. @mstorsjo I believe this is a regression from 20.1.x (the commit cited only appears with llvm 21 tags), does that make this eligible for cherry-picking to 21.x? https://github.com/llvm/llvm-project/pull/158404