[FunctionPropertiesAnalysis] Generalize support for unreachable
authorMircea Trofin <mtrofin@google.com>
Wed, 15 Jun 2022 23:59:47 +0000 (16:59 -0700)
committerMircea Trofin <mtrofin@google.com>
Tue, 21 Jun 2022 15:18:01 +0000 (08:18 -0700)
commit3f8e4169c1c390fd086658c1e51983ee61bff9bc
tree222b67583b4247b93100e38a79a0bcc3142dde81
parent939c57097ecd7ba7760d5c011a5034df17b5a943
[FunctionPropertiesAnalysis] Generalize support for unreachable

Generalized support for subgraphs that get rendered unreachable, for
both `call` and `invoke` cases.

Differential Revision: https://reviews.llvm.org/D127921
llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp