https://github.com/joker-eph commented: Thanks! This LGTM overall, modulo some inline comments. Can you also add a clear documentation for the attributes handling behavior in the pass documentation? https://github.com/llvm/llvm-project/pull/188232