michaelrj-google wrote: It does look like an implementation of lsearch has already landed, and this PR is out of date. I'm going to close it but feel free to ping if you want a new issue to work on. https://github.com/llvm/llvm-project/pull/116870