[PATCH] D12946: Avoid pointer truncation by InstCombine with IntToPtr combining
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 18:48:55 PDT 2015
rampitec marked 2 inline comments as done.
rampitec added a comment.
I think you are right. All we need to do is to convince frontend and
Kronos standard writers ;)
Stas
BTW, even a single code address space is not a good solution. It might serve immediate need, but not good enough as a general abstraction.
Back in 286 times there were far and near functions and code pointers. So several code address spaces might be needed for some implementations.
> Which is exactly the point of my previous comment: "being able to specify an address space on the function type". You could have one function in address space 0 and another in address space 1.
http://reviews.llvm.org/D12946
More information about the llvm-commits
mailing list