summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-06-10 09:19:55 +0200
committerGitHub <noreply@github.com>2024-06-10 09:19:55 +0200
commit12d24e0c56a154c88247e55c7c352030e4d9073d (patch)
tree3594166dc0fad81c86f7ac8d41b2346f225d88f1 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta6929dbea8b4525ee41c1269e8e4a2b7182d9ce2 (diff)
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions