[PATCH] D20991: Set machine block placement hot prob threshold for both static and runtime profile.
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 12:55:11 PDT 2016
danielcdh added a comment.
I'm still putting the triangle shape handling code outside as the logic is not related to PGO. Even with static profile, the triangle-shaped CFG should have a more relaxed condition to be topologically placed.
Added unittest to cover all cases.
More information about the llvm-commits