[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 20:56:59 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL360223: [llvm] Avoid div by 0 when updating profile weights. (authored by mtrofin, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D61661?vs=198563&id=198582#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61661/new/

https://reviews.llvm.org/D61661

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

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


More information about the llvm-commits mailing list