HomePhabricator

[FIX] Avoid creating BFI when emitting remarks for dead functions

Authored by weiwang on Aug 25 2020, 10:42 AM.

Description

[FIX] Avoid creating BFI when emitting remarks for dead functions

Dead function has its body stripped away, and can cause various
analyses to panic. Also it does not make sense to apply analyses on
such function.

Reviewed By: xazax.hun, MaskRay, wenlei, hoy

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

Details

Committed
hoyAug 25 2020, 11:12 AM
Reviewer
xazax.hun
Differential Revision
D84715: [FIX] Avoid creating BFI when emitting remarks for dead functions
Parents
rG40cbb2484d72: [mlir] NFC: fix typo in FileCheck prefix
Branches
Unknown
Tags
Unknown