[all-commits] [llvm/llvm-project] 707836: [JumpThreading] Handle zero !prof branch_weights

Yevgeny Rouban via All-commits all-commits at lists.llvm.org
Thu Jun 11 21:56:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 707836ed4edb21e7133007f0200c3fd3a04d3409
      https://github.com/llvm/llvm-project/commit/707836ed4edb21e7133007f0200c3fd3a04d3409
  Author: Yevgeny Rouban <yrouban at azul.com>
  Date:   2020-06-12 (Fri, 12 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp

  Log Message:
  -----------
  [JumpThreading] Handle zero !prof branch_weights

Avoid division by zero in updatePredecessorProfileMetadata().

Reviewers: yamauchi
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D81499




More information about the All-commits mailing list