Skip to content

[Clang] Support elementwise/reduction builtins in constexpr contexts. #51787

Open
@fhahn

Description

@fhahn
Bugzilla Link 52445
Version trunk
OS All
CC @DougGregor,@RKSimon,@zygoloid

Extended Description

Clang recently specified a set of builtins for elementwise operations and reductions on vectors:

https://clang.llvm.org/docs/LanguageExtensions.html#vector-builtins

They should also be supported in constexpr contexts.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillacc++26clang:frontendLanguage frontend issues, e.g. anything involving "Sema"constexprAnything related to constant evaluationextension:clanggood first issuehttps://github.com/llvm/llvm-project/contribute

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions