HomePhabricator

[Propeller] Do not generate the BB address map for empty functions.

Authored by rahmanl on Mar 25 2021, 6:44 PM.

Description

[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