commit | 4478320dae5dc4dd7b6bcc697a997c1732914d0f | [log] [tgz] |
---|---|---|
author | Artur Pilipenko <apilipenko@azulsystems.com> | Wed Sep 28 17:57:16 2016 +0000 |
committer | Artur Pilipenko <apilipenko@azulsystems.com> | Wed Sep 28 17:57:16 2016 +0000 |
tree | 16eecc8be7d6c693c573d832d49ee359b19bb9cd | |
parent | b835e6ee0fc3b183a21c2c44c2d50101b6254290 [diff] |
Don't look through addrspacecast in GetPointerBaseWithConstantOffset Pointers in different addrspaces can have different sizes, so it's not valid to look through addrspace cast calculating base and offset for a value. This is similar to D13008. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D24729 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282612 91177308-0d34-0410-b5e6-96231b3b80d8