Vector of pointers in function attributes calculation
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Tue, 17 Nov 2015 19:30:51 +0000 (19:30 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Tue, 17 Nov 2015 19:30:51 +0000 (19:30 +0000)
commit741a7722138d02a0b0141a56f3e6a5f290f2ffaa
tree19f30673897accb39d203904013e1949312a6d62
parent64725c314d90fe64e135f6d7079fb8b0f7e01146
Vector of pointers in function attributes calculation

While setting function attributes we check all instructions that may access memory. For a call instruction we check all arguments. The special check is required for pointers.
I added vector-of-pointers to the call arguments types that should be checked.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253363 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp
test/Transforms/FunctionAttrs/readattrs.ll