diff options
author | Vedant Kumar <vsk@apple.com> | 2016-10-20 18:44:14 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-10-20 18:44:14 +0000 |
commit | 2d38ae6c415c92207239ce3be11c244dd3ddba66 (patch) | |
tree | 9e3e0385850556e4d8e5c3dcf3fda8319b55d8d8 /llvm/test/Object/macho-invalid.test | |
parent | b625d17db804ff389c0be469ac646f7edc0452ff (diff) | |
download | bcm5719-llvm-2d38ae6c415c92207239ce3be11c244dd3ddba66.tar.gz bcm5719-llvm-2d38ae6c415c92207239ce3be11c244dd3ddba66.zip |
[CodeGen] Devirtualize calls to methods marked final in a derived class
If we see a virtual method call to Base::foo() but can infer that the
object is an instance of Derived, and that 'foo' is marked 'final' in
Derived, we can devirtualize the call to Derived::foo().
Differential Revision: https://reviews.llvm.org/D25813
llvm-svn: 284766
Diffstat (limited to 'llvm/test/Object/macho-invalid.test')
0 files changed, 0 insertions, 0 deletions