[PATCH] D13908: Add new interfaces to MBB for manipulating successors with probabilities instead of weights.

David Li via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 09:37:47 PST 2015


davidxl added inline comments.

================
Comment at: lib/CodeGen/MachineBasicBlock.cpp:1173
@@ +1172,3 @@
+  auto Prob = *getProbabilityIterator(Succ);
+  if (Prob.isUnknown()) {
+    uint32_t UnknownProbNum = 0;
----------------
With the latest change, is it (i.e prob.isUnknown()) possible now? If not, do an assertion.


http://reviews.llvm.org/D13908





More information about the llvm-commits mailing list