[PATCH] D12946: Avoid pointer truncation by InstCombine with IntToPtr combining
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 00:57:48 PDT 2015
arsenm added a comment.
I think for our purposes we care more about the address space of alloca being distinct from the address space of code.
I think adding support for non-0 addrspace alloca would mostly solve this problem and a few other related ones around address space 0 assumptions. The "default" address space code pointer would then just happen to work.
http://reviews.llvm.org/D12946
More information about the llvm-commits
mailing list