[LAA] Re-check bit-width of pointers after stripping.
authorMichael Liao <michael.hliao@gmail.com>
Thu, 18 Jul 2019 17:30:27 +0000 (17:30 +0000)
committerMichael Liao <michael.hliao@gmail.com>
Thu, 18 Jul 2019 17:30:27 +0000 (17:30 +0000)
commit17a8a9277c11e41792c53c1513f3e787d66f3c76
tree3c46f3ce1d0b765c0a5daea9aa934f5a69ff8719
parent2e97a1e19ef5492a409d206bb544a746cd26360d
[LAA] Re-check bit-width of pointers after stripping.

Summary:
- As the pointer stripping now tracks through `addrspacecast`, prepare
  to handle the bit-width difference from the result pointer.

Reviewers: jdoerfert

Subscribers: jvesely, nhaehnle, hiraditya, arphaman, llvm-commits

Tags: #llvm

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

llvm-svn: 366470
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/test/Transforms/SLPVectorizer/AMDGPU/address-space-ptr-sze-gep-index-assert.ll