[all-commits] [llvm/llvm-project] 90c401: [Propeller] Do not generate the BB address map for...

Rahman Lavaee via All-commits all-commits at lists.llvm.org
Mon Mar 29 20:15:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90c401cab63459334785f61076d4f05e4e487c1f
      https://github.com/llvm/llvm-project/commit/90c401cab63459334785f61076d4f05e4e487c1f
  Author: Rahman Lavaee <rahmanl at google.com>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    A llvm/test/CodeGen/X86/basic-block-sections-labels-empty-function.ll

  Log Message:
  -----------
  [Propeller] Do not generate the BB address map for empty functions.

Empty functions (functions with no real code) are irrelevant for propeller optimizations and their addresses sometimes conflict with other functions which obfuscates the analysis.
This simple change skips the BB address map emission for such functions.

Reviewed By: tmsriram

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




More information about the All-commits mailing list