diff options
author | Jack Liu <jack.liu@intel.com> | 2016-05-03 19:30:48 +0000 |
---|---|---|
committer | Jack Liu <jack.liu@intel.com> | 2016-05-03 19:30:48 +0000 |
commit | f101c0f7a1eb7e8e47ffc79dc440ea34fa11fbc3 (patch) | |
tree | d079e909745803964ccfc1228e61930d6518f28e /llvm/unittests/ADT/ArrayRefTest.cpp | |
parent | 34fd4fb459a1b396646b698247a191c7056a1202 (diff) | |
download | llvm-f101c0f7a1eb7e8e47ffc79dc440ea34fa11fbc3.zip llvm-f101c0f7a1eb7e8e47ffc79dc440ea34fa11fbc3.tar.gz llvm-f101c0f7a1eb7e8e47ffc79dc440ea34fa11fbc3.tar.bz2 |
[SROA] Function canConvertValue needs to check whether both NewTy and OldTy pointers are
pointing to the same addr space. This can prevent SROA from creating a bitcast
between pointers with different addr spaces.
Differential Revision: http://reviews.llvm.org/D19697
llvm-svn: 268424
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions