Skip to content

Tracking issue for LLVM align attributes (-Z arg_align_attributes) #49185

Closed
@scottmcm

Description

@scottmcm

In theory we should be emitting LLVM align <n> attributes (https://llvm.org/docs/LangRef.html#attr-align) for references, since they're always aligned.

However, it turns out that these get inlined as assume calls, which (per the HACK comment in the code) block other optimizations, so they're currently disabled.

-Z flag was added in #49122

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-codegenArea: Code generationC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCI-slowIssue: Problems and improvements with respect to performance of generated code.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions