[llvm-dev] Setters for `addrspace`?

(IIIT) Siddharth Bhat via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 13 15:54:19 PDT 2017


Hello all,

I've found the need to fixup address spaces in some code I'm writing. I'm
puzzled by the fact that there are no setters for `addrspace`: For example,
in GetElementPtrInst's API, or in `CastInst` and its subclasses.

I believe there is some rationale for this I'm missing. Could someone
please fill me in?

Cheers,
~Siddharth.
-- 
Sending this from my phone, please excuse any typos!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171013/6e8c2a80/attachment.html>


More information about the llvm-dev mailing list