aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2017-11-03 11:29:00 +0000
committerFlorian Hahn <florian.hahn@arm.com>2017-11-03 11:29:00 +0000
commit41e32bfd6880ee74b68436772bf16aad05272e0f (patch)
treec649cd54556894742f675889f2290056c78db200 /llvm/lib/CodeGen/CodeGen.cpp
parentd1b618177a7e0beb832a29cb4aa7b9663276696d (diff)
downloadllvm-41e32bfd6880ee74b68436772bf16aad05272e0f.zip
llvm-41e32bfd6880ee74b68436772bf16aad05272e0f.tar.gz
llvm-41e32bfd6880ee74b68436772bf16aad05272e0f.tar.bz2
[PartialInliner] Skip call sites where inlining fails.
Summary: InlineFunction can fail, for example when trying to inline vararg fuctions. In those cases, we do not want to bump partial inlining counters or set AnyInlined to true, because this could leave an unused function hanging around. Reviewers: davidxl, davide, gyiu Reviewed By: davide Subscribers: llvm-commits, eraman Differential Revision: https://reviews.llvm.org/D39581 llvm-svn: 317314
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions