WholeProgramDevirt: Teach the pass to handle structs of arrays.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 9 Dec 2016 01:10:11 +0000 (01:10 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 9 Dec 2016 01:10:11 +0000 (01:10 +0000)
commit8786754cc3d6a93357283af9976ec3bb8fe78abb
tree8201969d5b604379d5eb1c242a9e8f4998a5aebe
parent14f6b2c0351bf432169f7bf473aae75a5264492f
WholeProgramDevirt: Teach the pass to handle structs of arrays.

This will become necessary in some cases once D22296 lands.

llvm-svn: 289165
llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
llvm/test/Transforms/WholeProgramDevirt/bad-read-from-vtable.ll
llvm/test/Transforms/WholeProgramDevirt/pointer-vtable.ll [moved from llvm/test/Transforms/WholeProgramDevirt/non-aggregate-vtable.ll with 96% similarity]
llvm/test/Transforms/WholeProgramDevirt/soa-vtable.ll [new file with mode: 0644]