[PATCH] D15489: Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight() interfaces from MBPI.

David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 17:08:13 PST 2015


davidxl added inline comments.

================
Comment at: test/Analysis/BlockFrequencyInfo/bad_input.ll:13
@@ -14,1 +12,3 @@
+; Check that we get 1 and a huge frequency instead of 0,3.
+; CHECK-NEXT: for.body: float = 2147483647.8,
 for.body:
----------------
I know FE does that (0->1)  when creating MD_prof metadata. Where in BFI that does similar thing?




http://reviews.llvm.org/D15489





More information about the llvm-commits mailing list