[PATCH] D36726: [Inliner] Teach the inliner to propagate attributes that have specific effects on inlining thresholds when we happen to inline into the entry (extended) basic block.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 14 18:20:32 PDT 2017


davidxl added a comment.

I will provide more comments on propagating the inline hint later. However, I do think it is wrong to propagate the cold attribute in inliner -- there should be already an inter-procedural attribute propagation pass that does this.


https://reviews.llvm.org/D36726





More information about the llvm-commits mailing list