https://github.com/akash-manna-sky created 
https://github.com/llvm/llvm-project/pull/246794

After #244591 a `target update` of a section of a pointer to a variable length 
array, such as devito's `int (*u)[x][y][z]` with `u[0:t][0:x][0:y][0:z]`, goes 
through the non-contiguous descriptor path. The descriptor code asserted that 
every dimension but the innermost is based on an array type, which a 
pointer-to-array base is not.

The outermost dimension never needs a size, so the assertion now accepts a 
pointer base there. Builds without assertions already produced the correct 
descriptor. 

The server is unavailable at this time. Please wait a few minutes before you 
try again.
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to