[clang] [CIR] Upstream global initialization for ArrayType (PR #131657)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 19 12:10:57 PDT 2025


AmrDeveloper wrote:

> If you just set commonElementType to {} as is done in the incubator, this will eventually reach the NYI state in emitConstantArray and this code won't need to be updated later.

@andykaylor Yes, this is a better approach, I updated the code

Thanks

https://github.com/llvm/llvm-project/pull/131657


More information about the cfe-commits mailing list