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

cg_llvm: fewer_names in uncached_llvm_type #76030

Merged
merged 1 commit into from
Aug 31, 2020

Commits on Aug 31, 2020

  1. cg_llvm: fewer_names in uncached_llvm_type

    This commit changes `uncached_llvm_type` so that a named struct type
    (with an empty name) is always created when the `fewer_names` option
    is enabled. By skipping the generation of names, we can improve perf.
    Giving `LLVMStructCreateNamed` an empty name works because LLVM will
    perform random renames to avoid collisions.
    
    Signed-off-by: David Wood <[email protected]>
    davidtwco committed Aug 31, 2020
    Configuration menu
    Copy the full SHA
    fa01ce8 View commit details
    Browse the repository at this point in the history