]> granicus.if.org Git - llvm/commit
WholeProgramDevirt: Examine the function body when deciding whether functions are...
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 17 Feb 2017 18:17:04 +0000 (18:17 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 17 Feb 2017 18:17:04 +0000 (18:17 +0000)
commit72258b42b0805337ea2d0d042454d2a8c173fcf4
tree045bc4931d5344ec2465e0785fecbd37156e05e4
parentc60bc7e2e2f6e415f22e1e1fee908a47a94935f0
WholeProgramDevirt: Examine the function body when deciding whether functions are readnone.

The goal is to get an analysis result even for de-refineable functions.

Differential Revision: https://reviews.llvm.org/D29803

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295472 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/WholeProgramDevirt.cpp
test/Transforms/WholeProgramDevirt/vcp-accesses-memory.ll