samparker added a comment. In line with your other patch, D59785 <https://reviews.llvm.org/D59785>, can't we just pass AttributeList instead of a Function too? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D59766/new/ https://reviews.llvm.org/D59766