[PATCH] D20991: Set machine block placement hot prob threshold for both static and runtime profile.

David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 15:34:18 PDT 2016


davidxl added a comment.

I've done refactoring/cleanup. I think the PGO logic can now be put into the new method: getLayoutSuccessorProbThreshold() -- the method needs to pass in BB and Succ.  The implementation should be PGO specific.

Also please add a test case.


http://reviews.llvm.org/D20991





More information about the llvm-commits mailing list