aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2022-06-15 07:32:55 -0700
committerMircea Trofin <mtrofin@google.com>2022-06-16 09:14:22 -0700
commit7f24e574d434eb54675abb452b7e673302e7bd3d (patch)
tree22af635ea4bac158b7530f8768e5c7e36e2fa454 /clang/lib/CodeGen/CodeGenModule.h
parent912a5172f8d82963cdf4500d3218ac53a72e8696 (diff)
downloadllvm-7f24e574d434eb54675abb452b7e673302e7bd3d.zip
llvm-7f24e574d434eb54675abb452b7e673302e7bd3d.tar.gz
llvm-7f24e574d434eb54675abb452b7e673302e7bd3d.tar.bz2
[MLInliner] Don't inline call sites in unreachable basic blocks
This requires DominatorTree be updated, which we do in the ml inliner case, but not in the default case, and the cost of doing so is noticeable to compile time for the latter[1]. So the patch only affects the ML inliner. [1] https://llvm-compile-time-tracker.com/compare.php?from=9fc0aa45e3312944431ba7e1ca0cec99c613992b&to=7af461b1ce0d9138211ef5f883f35d5b9ddf47be&stat=wall-time Differential Revision: https://reviews.llvm.org/D127899
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions