[PATCH] D45900: CodeGen: Fix invalid bitcast for lifetime.start/end
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 30 13:51:48 PDT 2018
rjmccall added a comment.
Oh, I see, it's not that the lifetime intrinsics don't handle pointers in the alloca address space, it's that we might have already promoted them into `DefaultAS`.
Do the LLVM uses of lifetime intrinsics actually look through these address space casts? I'm wondering if we might need to change how we emit the intrinsics so that they're emitted directly on (bitcasts of) the underlying allocas.
https://reviews.llvm.org/D45900
More information about the cfe-commits
mailing list