efriedma-quic wrote:

LLVM can handle IR like the following without ever explicitly allocating memory 
for the array:

```
@g = global {[1000000000000 x i32], i32} {[1000000000000 x i32] 
zeroinitializer, i32 3}
```

Of course, you hit an out-of-disk-space error if you try to compile this to an 
object file.

https://github.com/llvm/llvm-project/pull/205503
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to