[PATCH] D61661: [llvm] Avoid div by 0 when updating profile weights.

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 17:08:35 PDT 2019


mtrofin created this revision.
mtrofin added a reviewer: davidxl.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61661

Files:
  llvm/lib/IR/Instructions.cpp
  llvm/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61661.198563.patch
Type: text/x-patch
Size: 10998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190508/0f0e4bec/attachment.bin>


More information about the llvm-commits mailing list