diff options
author | Tim Northover <tnorthover@apple.com> | 2019-07-09 11:35:35 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-07-09 11:35:35 +0000 |
commit | 60afa49abed6efdd7196d38ec884727090cfe373 (patch) | |
tree | a9af173067a23e1f6fa896cfb31bde34ec7cb3b3 /llvm/unittests/ADT/ArrayRefTest.cpp | |
parent | 01eaae6dd12862cda6b42d565a215b07a178aba6 (diff) | |
download | llvm-60afa49abed6efdd7196d38ec884727090cfe373.zip llvm-60afa49abed6efdd7196d38ec884727090cfe373.tar.gz llvm-60afa49abed6efdd7196d38ec884727090cfe373.tar.bz2 |
OpaquePtr: add Type parameter to Loads analysis API.
This makes the functions in Loads.h require a type to be specified
independently of the pointer Value so that when pointers have no structure
other than address-space, it can still do its job.
Most callers had an obvious memory operation handy to provide this type, but a
SROA and ArgumentPromotion were doing more complicated analysis. They get
updated to merge the properties of the various instructions they were
considering.
llvm-svn: 365468
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions