aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-11-01 11:25:55 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-11-01 11:25:55 +0000
commit174fbec3dfdf5e20ad5b75dcfcc709011ddb1a12 (patch)
treea5d6963c6ba6acf83c92d01b3b4332efa5f24c83 /lib/Transforms
parentd988b75c4424ed14521b59f0ffb09527be00958b (diff)
Add a getAddressSpace method to the GEP instruction to mirror that of
the inttoptr instruction. The conceptual model here is that 'getAddressSpace' refers to the address space of this instruction's type. It just happens that for GEPs, that is always the same as the pointer operand's address space. We want both names so that access patterns can be consistent between different instruction types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
0 files changed, 0 insertions, 0 deletions