Skip to content
Commit ba98ef89 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

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.

llvm-svn: 167229
parent 49d7e23b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment