Keenuts wrote:

> > This needs an IR verifier check to ensure the elementtype attribute is 
> > present.
> 
> And the other preconditions, like the number of indices being correct, only 
> constant indices for structs, etc.

Right, good point to add verifier check/tests. Added to the current PR

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

Reply via email to