This fixes a crash in internal builds under SamplePGO.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D72653
[PGO][CHR] Guard against 0-to-0 branch weight and avoid division by zero crash. ClosedPublic Authored by hjyamauchi on Jan 13 2020, 2:22 PM.
Details Summary This fixes a crash in internal builds under SamplePGO.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 13 2020, 2:28 PM Closed by commit rG7b9f8e17d15d: [PGO][CHR] Guard against 0-to-0 branch weight and avoid division by zero crash. (authored by hjyamauchi). · Explain WhyJan 13 2020, 2:40 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 237786 llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
llvm/test/Transforms/PGOProfile/chr.ll
|