On 16 May 2014, at 09:41, Dan Liew <dan at su-root.co.uk> wrote: > 0 -> 1 This will cause problems for you, because LLVM currently enforces an invariant that allocas must be in AS 0. David