Skip to content

Consider deprecating LLVM-specific feature names for -Ctarget-feature flag #85011

Open
@nagisa

Description

@nagisa

As of #84991 we support the same values for -Ctarget-feature as we do for the #[target_feature] attribute. However there is a fallback that passes through any unknown names, which effectively means that LLVM names are also accepted by the flag.

I think it makes sense for us to look into deprecating LLVM-specific names, and eventually remove the fallback (or destabilize the fallback behaviour).

Metadata

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.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