Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CodeGen] Simplify codegen for array initialization #93956

Merged
merged 1 commit into from
Jun 10, 2024

Commits on May 31, 2024

  1. [CodeGen] Simplify codegen for array initialization

    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 llvm#93823.
    nikic committed May 31, 2024
    Configuration menu
    Copy the full SHA
    9797463 View commit details
    Browse the repository at this point in the history