Tracking issue for LLVM align attributes (-Z arg_align_attributes) #49185
Labels
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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
The text was updated successfully, but these errors were encountered: