Avoid division by zero in updatePredecessorProfileMetadata().
A test is added.
Details
Details
- Reviewers
kazu nikic hjyamauchi ebrevnov efriedma
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Transforms/Scalar/JumpThreading.cpp | ||
---|---|---|
219 | Add a code comment that this is to avoid a division by zero below? |
Add a code comment that this is to avoid a division by zero below?