Files
clang-p2996/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
Nikita Popov 12d24e0c56 [CodeGen] Simplify codegen for array initialization (#93956)
This makes codegen for array initialization simpler in two ways:
1. Drop the zero-index GEP at the start, which is no longer needed with
opaque pointers.
2. Emit GEPs directly to the correct element, instead of having a long
chain of +1 GEPs. This is more canonical, and also avoids regressions in
unoptimized builds from #93823.
2024-06-10 09:19:55 +02:00

2.2 KiB