https://github.com/fhahn approved this pull request. LGTM, thanks. IIUC there is currently no mis-compiles, as we never remove a write. But this should avoid processing recipes unnecessarily https://github.com/llvm/llvm-project/pull/207443