[all-commits] [llvm/llvm-project] 7b9f8e: [PGO][CHR] Guard against 0-to-0 branch weight and ...

hjyamauchi via All-commits all-commits at lists.llvm.org
Mon Jan 13 14:39:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b9f8e17d15d7516b186c0a85de71133b780f939
      https://github.com/llvm/llvm-project/commit/7b9f8e17d15d7516b186c0a85de71133b780f939
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/test/Transforms/PGOProfile/chr.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list