summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2020-01-13 14:19:45 -0800
committerHiroshi Yamauchi <yamauchi@google.com>2020-01-13 14:38:58 -0800
commit7b9f8e17d15d7516b186c0a85de71133b780f939 (patch)
tree30bf5c3c8409f69d23da171579cfb1572d94cb13 /clang/lib/CodeGen/CodeGenModule.cpp
parenta506f7f9105eec4baac296d21c922457d6f4b52a (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud