llvm/llvm-project
Auf GitHub ansehen[Clang] Support elementwise/reduction builtins in constexpr contexts.
Open
#51.787 geöffnet am 9. Nov. 2021
bugzillacc++26clang:frontendconstexprextension:clanggood first issue
Repository-Metriken
- Stars
- (26.378 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)
Beschreibung
| 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.