aeubanks added a comment. it seems like it'd be better to extend ForceFunctionAttrsPass rather than add a separate pass Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D155617/new/ https://reviews.llvm.org/D155617