diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2020-01-13 14:19:45 -0800 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2020-01-13 14:38:58 -0800 |
commit | 7b9f8e17d15d7516b186c0a85de71133b780f939 (patch) | |
tree | 30bf5c3c8409f69d23da171579cfb1572d94cb13 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a506f7f9105eec4baac296d21c922457d6f4b52a (diff) | |
download | bcm5719-llvm-7b9f8e17d15d7516b186c0a85de71133b780f939.tar.gz bcm5719-llvm-7b9f8e17d15d7516b186c0a85de71133b780f939.zip |
[PGO][CHR] Guard against 0-to-0 branch weight and avoid division by zero crash.
Summary: This fixes a crash in internal builds under SamplePGO.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72653
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions