OSDN Git Service

Print remarks from WholeProgramDevirt pass for each call site.
authorIvan Krasin <krasin@chromium.org>
Tue, 12 Jul 2016 02:38:37 +0000 (02:38 +0000)
committerIvan Krasin <krasin@chromium.org>
Tue, 12 Jul 2016 02:38:37 +0000 (02:38 +0000)
commitbf38a6cacfddbc73de79d13aacb5b7e3bead4fc0
treef37e9f56fa2a4bdb0e8588049c35a246b44e5766
parente56d3694f2c42463e006b8b763a914ba1a1a3355
Print remarks from WholeProgramDevirt pass for each call site.

Summary:
It's useful to have some visibility about which call sites are devirtualized,
especially for debug purposes. Another use case is a regression test on the
application side (like, Chromium).

Reviewers: pcc

Differential Revision: http://reviews.llvm.org/D22252

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275145 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/WholeProgramDevirt.cpp
test/Transforms/WholeProgramDevirt/devirt-single-impl-check.ll
test/Transforms/WholeProgramDevirt/non-constant-vtable.ll
test/Transforms/WholeProgramDevirt/virtual-const-prop-check.ll