[llvm-dev] Is it ok to allocate > half of address space?

John Regehr via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 9 08:40:19 PST 2017


The signed cmov emitted in this example (mentioned in the blog post 
below) seems to indicate that LLVM really has baked in the assumption 
that objects are not larger than half the address space:

   https://godbolt.org/g/8zhrZ1

John


On 11/09/2017 09:00 AM, John Regehr via llvm-dev wrote:
> This blog post contains additional examples that may shed light on this 
> topic:
> 
>    https://trust-in-soft.com/objects-larger-than-ptrdiff_max-bytes/
> 
> John
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list