[all-commits] [llvm/llvm-project] 803dd6: [BFI] Add a debug check for unknown block queries.

hjyamauchi via All-commits all-commits at lists.llvm.org
Tue Feb 4 10:05:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 803dd6fe6bb493e34a8747dc286a88aa05f353e1
      https://github.com/llvm/llvm-project/commit/803dd6fe6bb493e34a8747dc286a88aa05f353e1
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
    M llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp

  Log Message:
  -----------
  [BFI] Add a debug check for unknown block queries.

Summary:
Add a debug check for frequency queries for unknown blocks (typically blocks
that are created after BFI is computed but their frequencies are not
communicated to BFI.)

This is useful for detecting and debugging missed BFI updates.

This is debug build only and disabled behind a flag.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73920




More information about the All-commits mailing list